home *** CD-ROM | disk | FTP | other *** search
/ Eyes to the Stars / Eyes to the Stars.iso / dos_apps / sehgal_1 / himan.txt < prev    next >
Text File  |  1995-06-29  |  150KB  |  3,097 lines

  1.  
  2. Hidden Image* 
  3.  
  4. User's Manual
  5.  
  6. Copyright 1993-1995 Sehgal Corporation
  7.  
  8. Notice
  9.  
  10. Both the Hidden Image software program and this Hidden Image User's 
  11. Manual are Copyright ⌐ 1993, 1994, 1995 Sehgal Corporation.  
  12.  
  13. Hidden Image  is a trademark of Sehgal Corporation.
  14.  
  15. The license agreement for use of this software is as follows:
  16. 1.    You may use the software on a single personal computer.
  17. 2.    You make one backup copy for your personal use.
  18. 3.    You may not modify, adapt, translate, reverse engineer, decompile, or 
  19.     disassemble the software in whole or in part.  
  20.  
  21. Sehgal Corporation retains the ownership rights and title to this software 
  22. program.  You have purchased only a license to use this copy.  This applies 
  23. to any and all copies you may make of this software.  
  24.  
  25.  
  26. Reporting Bugs
  27.  
  28. While every effort has been made to ensure that Hidden Image will 
  29. operate correctly, there is always the possibility in complex software of 
  30. problems occurring.  The authors will attempt to correct any problems 
  31. report, and suggestions for improvement are always welcome.  This does 
  32. not imply any warranty or guarantee; it merely means that we like to keep 
  33. our customers happy!  
  34.  
  35. If you find any problems with Hidden Image, please send us a report 
  36. explaining exactly how the bug occurs.  If possible, include any HI.INI or 
  37. data file necessary to cause the bug to occur, as well as copies of your 
  38. CONFIG.SYS and AUTOEXEC.BAT.  We will attempt to correct the 
  39. problem and send you an updated version of the software.  Our ability to 
  40. correct the problem depends on the quality of your bug report, so try to be 
  41. thorough.  
  42.  
  43. If you have any suggestions or comments on Hidden Image or this 
  44. manual, feel free to drop us a line.  We are always looking for ways to 
  45. improve the product!
  46.  
  47.  
  48. Trade Marks
  49.  
  50. IBM, AT and VGA are trademarks of International Business Machines.  
  51. Microsoft, MS-DOS, and Windows are registered trademarks of Microsoft 
  52. Corporation.  Macintosh is a registered trademark of Apple Computers.  
  53. Pentium is a registered trademark of Intel corporation.  
  54.  
  55. Warranty and Disclaimer
  56. Sehgal Corporation will replace any defective disk media if returned within 
  57. thirty (30) days of the date of purchase.  
  58.  
  59. Sehgal Corporation does not warrant, guarantee, or make any 
  60. representation concerning the use, or the results of the use, of this software 
  61. program in terms of accuracy, reliability, or otherwise.  The entire risk as 
  62. to the quality and performance of the software is with you.  
  63.  
  64.  
  65. 1.    INTRODUCTION
  66.  
  67. The development of the i386, i486 and Pentium microprocessors by Intel in 
  68. the late 1980s combined with the recent availability of low cost CCD 
  69. cameras for amateur astronomers has created a vast and as yet untapped 
  70. potential for amateurs to take advantage of very advanced image 
  71. processing techniques.
  72.  
  73. Hidden Image provides an implementation of the Maximum Entropy 
  74. Method (MEM) deconvolution algorithm along with the tools to use it 
  75. effectively and easily.  It provides a robust technique known to be capable 
  76. of consistently yielding gains in resolution of 2-3 times.  Our tests have 
  77. shown that instruments of moderate aperture (8 to 16" aperture) can 
  78. consistently yield detailed CCD images, many of which are comparable to 
  79. published, film-based results on 100" telescopes.  
  80.  
  81. With Hidden Image, image processing capabilities previously afforded 
  82. only to big-budget professional institutions are now available to small 
  83. college observatories.  Also, amateur astronomers - using widely available, 
  84. low-cost CCDs - can now utilize this same technology to produce 
  85. professional-quality results.  It is now possible to reliably discern small 
  86. structure in deep space objects and resolve significant, changing surface 
  87. detail on large planets, even with less-than-optimal atmospheric conditions 
  88. and imperfect optics.
  89.  
  90.  
  91. Features of Hidden Image
  92.  
  93. Hidden Image was created especially for performing Maximum Entropy 
  94. Deconvolution - a reliable technique for dramatically improving the 
  95. resolution of images.  The authors of this package are professional image 
  96. processing engineers, amateur astronomers and CCD camera users.  In the 
  97. course of developing and using this package, it was discovered that a 
  98. number of tools are essential for making MaxEnt effective and easy to use.  
  99. In addition to these tools, we decided to add a number of other powerful 
  100. image processing functions.  We have found these functions to be essential 
  101. for obtaining the best possible images.  
  102.  
  103.  
  104. Hidden Image features include:
  105.  
  106. Maximum Entropy Deconvolution - a sophisticated "de-blurring" 
  107. technique capable of reducing seeing effects, guiding errors, and optical 
  108. aberrations.  Because Maximum Entropy is a processing-intensive function, 
  109. the core processing algorithms were carefully hand-coded to provide the 
  110. maximum possible speed on 386, 486 and Pentium processors.  The user 
  111. can watch the image "developing" on the screen as the processing works.  
  112.  
  113. Elegant User Interface - mouse-driven with pop-down menus and dialog 
  114. boxes.  Hidden Image makes sophisticated image processing techniques 
  115. available even to the novice user.  The user interface was designed by 
  116. astronomers for astronomers.  Features include:
  117.  
  118. Photo View Mode - for taking pictures of the computer monitor.
  119.  
  120. Blink Mode - for doing a comparitive analysis between two 
  121. images. 
  122.  
  123. Automatic Stretch Modes - instantly view images with 
  124. automatically calculated contrast adjustment.  
  125.  
  126. Night Vision Mode - for using Hidden Image at the telescope; 
  127. includes mouse-only operating mode - no keyboard required!  
  128.  
  129. Two Image Frames - allows displaying of "before" and "after" 
  130. images for direct comparison.
  131.  
  132. Histograms - each displayed image can have an associated 
  133. histogram.  Mouse-controlled cursors on the histogram allow the 
  134. user to change the stretching and gamma correction of the display.  
  135.  
  136. MaxEnt Setup Tools - Maximum Entropy Deconvolution requires a 
  137. "point-spread function" and noise estimate in order to work correctly.  
  138. Several easy-to-use tools are provided for extracting this information 
  139. directly from your image:
  140.  
  141. Point-Spread Functions - extract a star image to tell Hidden 
  142. Image how the image was blurred; just point and click!  Or use an 
  143. "analytical" point-spread function.  Hidden Image will also allow 
  144. you to graphically match an analytic function to the shape of an 
  145. extracted star image.  
  146.  
  147. Noise Estimate - extract a noise estimate by pointing a box cursor 
  148. at a dark area of the image with the mouse.  
  149.  
  150. High Precision - unlike some packages, all images are stored and 
  151. processed as floating-point numbers.  Any number of processing steps can 
  152. be performed without losing any image detail.  
  153.  
  154. Image Calibration - calibrate CCD images using Bias Frame, Dark Frame 
  155. and Flat Field compensation.
  156.  
  157. FFT Filtering - variable cutoff and order lowpass, highpass, and bandpass 
  158. filters.  Much more sophisticated than common "kernel" filters - uses a 
  159. "Butterworth" filter shape for superior results.  
  160.  
  161. Cosmic Ray Removal - removes ugly cosmic ray bright spots from your 
  162. image. 
  163.  
  164. Dead Pixel Removal - removes CCD array defects.
  165.  
  166. Histogram Equalization - overcomes the limitations of your computer 
  167. display to give stunning images of galaxies and other deep sky objects.  
  168. Allows viewing the full dynamic range of an image without losing contrast.  
  169.  
  170. Gamma Correction - a popular form of non-linear contrast adjustment.  
  171. Gamma is controlled graphically or numerically.  
  172.  
  173. Unsharp Masking - suppresses large-scale brightness variations while 
  174. preserving low-contrast details.  Perfect for displaying planetary images.  
  175.  
  176. Median Filtering - suppress spiky noise.
  177.  
  178. Stretching - allows graphical or numerical control of the brightness and 
  179. contrast of the display, without affect the actual stored image.  Hidden 
  180. Image also allows you to permanently stretch an image; this is useful for 
  181. generating optimized TIFF files for exporting to other applications.  
  182.  
  183. Sum and Offset - Add, subtract, and scale images for special effects.  
  184.  
  185. Image Combination - Combine multiple CCD exposures while adjusting 
  186. the registration to permit unguided long duration imaging.  Provides a 
  187. computer-assisted registration function to align the images.  
  188.  
  189. Statistical Information - User can extract statistical information on an 
  190. area of the image using a box-shaped cursor.  Information includes mean 
  191. and standard deviation, maximum and minimum values, and the X and Y 
  192. centroid of a star in the box.  
  193.  
  194. Measurements - User can read the pixel value of any point in the image 
  195. using a cross-hair cursor. 
  196.  
  197. Copy Star - Allows user to copy original stars over processed stars to 
  198. remove objectional side effects of processing (i.e. black donuts). 
  199.  
  200. Image Frame Sizes - Hidden Image can extract a 128x128, 256x256, 
  201. 512x256, 512x512, 1024x512 or 1024x1024 size frame from any sized 
  202. image (limited by available memory and disk space and version dependent).
  203.  
  204. Make Square Pixels - Images from cameras with non-square pixels can be 
  205. interpolated to square pixels to give the correct aspect ratio when images 
  206. are moved to packages not designed for CCD cameras with non-square 
  207. pixels.
  208.  
  209. Video Modes - Supports 320x200, 640x400, 640x480, 800x600 and 
  210. 1024x768 VGA and Super-VGA (VESA) video modes.  Display is in 256 
  211. colors (grayscale for images) in all modes (16 color mode is also supported 
  212. in 640x480 for laptops).  
  213.  
  214. File Formats - The following file formats are supported: TIFF (8 and 16 
  215. bit), FITS, All the SBIG Type III (ST-6, ST-8 etc), ST-4, Electrim, PC-
  216. Lynxx, Raw Integer, and Raw IEEE Floating Point.  
  217.  
  218.  
  219. Hardware Requirements
  220.  
  221. Hidden Image requires a PC-compatible computer with one of the 
  222. following processors:
  223.     Processor        Notes
  224.     i386SX or DX        Requires 387 math coprocessor
  225.     i486SX    Requires     487 math coprocessor
  226.     i486DX    
  227.     Pentium
  228. Memory required depends on the image size being processed.  Hidden 
  229. Image is able to use the hard drive in place of system memory; however a 
  230. significant speed penalty may result.  
  231.  
  232.  
  233. Recommended memory configuration is as follows:
  234.  
  235. Frame Size    Minimum        Recommended*
  236. 128x128        4 MB        4 MB
  237. 256x256        4 MB        4 MB
  238. 512x256        4 MB        8 MB  
  239. 512x512        8 MB        16 MB
  240. 1024x1024    16 MB        64 MB
  241.  
  242. * Hard drive free space plus system memory must equal at least the 
  243. recommended size.  
  244.  
  245. This means that 4 MB of memory is recommended for use with PC-Lynxx, 
  246. ST-4 and Electrim cameras.  For ST-6 cameras, 8 MB of memory is 
  247. recommended for processing a full-sized image.  
  248.  
  249. A mouse is required to operate Hidden Image.  
  250.  
  251. Hidden Image supports standard VGA displays at 320x200 256-color and 
  252. 640x480 16-color.  This provides maximum compatibility with laptop 
  253. computers.  It also supports a large number of Super-VGA video cards 
  254. using an included universal VESA driver.  See the explanation of video 
  255. modes in Chapter 6 (under "View Menu").  The following 256-color 
  256. Super-VGA modes are available depending on the video card used: 
  257. 640x400, 640x480, 800x600 and 1024x768.  
  258.  
  259.  
  260. About Sehgal Corporation
  261.  
  262. A Virtual Corporation Sehgal Corporation was founded in May 1991 with the 
  263. goal of bringing powerful software techniques used by professional 
  264. astronomers and major institutions to a wider audience.  Sehgal Corporation 
  265. is far from being a large software development house employing hundreds of 
  266. programmers. Instead, in the tradition of most astronomical software companies, 
  267. Sehgal Corporation's researchers and engineers are both amateur astronomers with 
  268. many years of experience as well as programmers.  As we progress into the 
  269. next century, personal computers and high speed digital communication 
  270. have ended the need for large centrally controlled corporations which do 
  271. everything under one roof.  Sehgal Corporation is a virtual corporation in 
  272. that it is able to tap a large body of talent and expertise which is distributed 
  273. across North America.
  274.  
  275. 2.    GOALS OF THIS MANUAL
  276. Having been computer software users for many years, the engineers at 
  277. Sehgal Corporation have experienced first hand the frustrations of trying to 
  278. use ill-explained and poorly designed software.  As a result, we have 
  279. endeavored to create a product that is intuitive, easy to use and effective 
  280. from a user's perspective.  This manual attempts to complement Hidden 
  281. Image with a complete, comprehensible explanation of both the program's 
  282. functioning as well as the theory behind it.  The user interface is probably 
  283. more intuitive than our explanations; you might want to play with the 
  284. program as you read the manual.  
  285.  
  286. Given the wide range in academic backgrounds of Hidden Image's users, 
  287. this manual must address image processing at many different levels.  
  288. Maximum Entropy Deconvolution is a very complex algorithm and even 
  289. simple explanations may seem complicated.  To attempt to keep things 
  290. simple, this manual deals with the theoretical issues at two levels.  The first 
  291. level is targeted to the "average user" and tries to explain things using 
  292. words and analogies, keeping the math to a minimum.  The second level is 
  293. targeted towards the user who has a strong background in mathematics.  
  294. By strong background we mean typically an individual with a university 
  295. degree in science, engineering or mathematics.  In fun, we have termed 
  296. such individuals "Math Masochists" because, to the "average user", 
  297. someone who enjoys reading explanations packed with integral signs must 
  298. be a masochist of some kind!  
  299.  
  300. It is important to note that understanding the theory behind Maximum 
  301. Entropy is not required to effectively use it as a tool.  An analogy is "one 
  302. does not require a physics degree to use a crowbar as a lever".  Hidden 
  303. Image presents Maximum Entropy as tool and provides the support to 
  304. effectively use that tool without having an advanced understanding of it.  
  305. We have found that trial and error sometimes works just as well as the 
  306. application of sound theory.
  307.  
  308. 3.    WHY MAXIMUM ENTROPY DECONVOLUTION?
  309. With the number of very good image processing packages available on the 
  310. market the question "Why Maximum Entropy Deconvolution?" is a fair 
  311. one.  The answer is quite simple:  the physics of the imaging situation 
  312. require some form of deconvolution to get good resolution and maximum 
  313. entropy is one of the few reliable techniques.  
  314. Let us consider what happens to the light as it travels to your CCD camera.
  315.  
  316. Convolution:  Perfect Points (Stars) Become "Blobs"
  317. The light from the object of interest travels through space, in some cases 
  318. for millions of years, without any major distortion (aside from the odd 
  319. gravitational lens!).  Then the inevitable happens: it hits the Earth's 
  320. atmosphere.  As it passes through the different areas of turbulence and 
  321. temperature gradients, the light is distorted.  Light which once started as a 
  322. point source is spread around and is now a blob.  To add to the mess, 
  323. before reaching the imaging elements of the CCD camera, the light must 
  324. pass through the optics of the telescope which in many cases are less than 
  325. perfect.  In some cases guiding errors or accidents can further distort the 
  326. final image.  Instead of the pristine point source stars, we get a collection 
  327. of blobs.  The same blurring also affects any extended objects in the image.  
  328. The technical term which describes what happened to the light during its 
  329. passage through the atmosphere and optics is called "convolution".
  330. Typical astronomical image processing software can improve the 
  331. appearance of the image in many ways.  We can adjust contrast, filter the 
  332. image, etc., but we still fundamentally have a blurry image.  If everything 
  333. works just right - the seeing is wonderful, the telescope optics are perfect, 
  334. and the drive guides correctly - we can get a good image.  In the real 
  335. world, the results are far from perfect.  
  336.  
  337. To eliminate the atmospheric and optical effects and change the blobs back 
  338. into point sources requires a special technique.  This technique undoes the 
  339. convolution, so it is called (you guessed it!) "deconvolution".  The basic 
  340. theory of deconvolution is actually very simple and elegant:  it is, 
  341. effectively, just a simple division operation with something called a 
  342. "Fourier Transform" thrown in for good measure.  Unfortunately simple 
  343. deconvolution doesn't work on real-world images because of noise.  And, 
  344. of course, noise just happens to be the worst problem with CCDs.  
  345. Hidden Image provides one of the few deconvolution techniques which 
  346. professional astronomers trust: Maximum Entropy.  It has a strong 
  347. mathematical basis, and it has proven effective for radio astronomy, 
  348. ground-based optical astronomy, and of course the Hubble Space 
  349. Telescope.  The Maximum Entropy Method (MEM) results in an image 
  350. with no false structure (structure which isn't in the original image).  Any 
  351. information loss that occurs is well known, expected, and can be easily 
  352. eliminated without changing the "truth" in the image.  The only obvious 
  353. information losses are the black "donuts" which sometimes appear around 
  354. stars embedded in nebulosity.
  355.  
  356. Maximum Entropy Deconvolution is a complex mathematical process that 
  357. can be very effective.  With this technique, Hidden Image has the potential 
  358. to radically change your world of CCD imaging.
  359.  
  360. 4.    INSTALLATION
  361.  
  362. System Requirements
  363. The minimum requirements to run Hidden Image are an IBM PC-AT 
  364. compatible computer with at least a 386 processor and a 387 math 
  365. coprocessor.  A 486DX processor is preferred.  Note that the 486SX will 
  366. not work unless an external math coprocessor is used because its math 
  367. coprocessor is disabled.  Of course, a DX/2 or Pentium processor is even 
  368. better.  
  369.  
  370. Compatible Processors
  371.  
  372.     Processor        Notes
  373.     i386SX or DX        Requires 387 math coprocessor
  374.     i486SX            Requires 487 math coprocessor
  375.     i486DX    
  376.     Pentium
  377.  
  378. Hidden Image runs under DOS 3.3 or higher.  A mouse or track ball is 
  379. required, as well as a VGA display.  "Super-VGA" is recommended.  At 
  380. least 4 MB of memory is recommended for use with 256x256 images.  At 
  381. least 8 MB of memory is recommended for use with 512x256 images.  At 
  382. least 16 MB of memory is recommended for use with 512x512 images. At 
  383. least 32 MB of memory is recommended for use with 1024x1024 images.  
  384.  
  385. If you do not have sufficient memory in your system, Hidden Image will 
  386. use "virtual memory", which means it will use your hard disk to supplement 
  387. the system memory.  Depending on how much additional memory Hidden 
  388. Image requires, it may operate very slowly.  In order to reduce memory 
  389. and processing time requirements, use the smallest frame size consistent 
  390. with your image size.  
  391.  
  392. Because of the virtual memory capabilities of Hidden Image, you cannot 
  393. actually run out of memory unless you have first run out of disk space!  If 
  394. you do get an out of memory message from Hidden Image, you might 
  395. have simply filled up your disk.  Quit the program, make some room, and 
  396. run it again.  It is very easy when playing with CCD images to run out of 
  397. space!
  398.  
  399. When using virtual memory, a very large amount of disk space may be 
  400. necessary.  Please keep this in mind.  As much as 16 megabytes of disk 
  401. space may be required for the 512x512 frame size if you do not have 
  402. sufficient random access memory (RAM).  
  403.  
  404.  
  405. Recommended Memory Configuration
  406.  
  407.     Frame Size        Minimum        Recommended
  408.     128x128            4 MB        4 MB
  409.     256x256            4 MB        4 MB
  410.     512x256            4 MB        8 MB  
  411.     512x512            8 MB        16 MB
  412.     1024x512        8 MB        16 MB
  413.     1024x1024        16 MB        64 MB
  414.  
  415. Hidden Image uses the FlashTek DOSX extender to access extended 
  416. memory and to run in 32-bit protected mode.  DOSX has been tested with 
  417. many different memory managers and there are no known compatibility 
  418. problems as of this writing.  Avoid running Hidden Image from within a 
  419. Windows DOS box.  
  420.  
  421. Installing the Software
  422. The installation of Hidden Image is quite easy.  Assuming the floppy is in 
  423. drive B:, the following commands will do:
  424. > b:
  425. > install
  426.  
  427. All this does is copy the following files onto your hard drive:
  428. hidemo.exe    Hidden Image executable program
  429. univesa.exe    Universal VESA driver for SVGA operation
  430. univesa.doc    Documentation for univesa
  431. m51.hi        A sample image of M51, the whirlpool galaxy
  432. jupiter.hi    A sample image of the planet Jupiter
  433. quick.hi    A sample "quick-start" image
  434. readme.txt    A text file containing any last-minute items not in this 
  435. manual
  436.  
  437. These files are placed in a directory called "HI".  You may move them to 
  438. any other directory if you wish.  
  439. If you want to be able to access Hidden Image from any directory on the 
  440. hard drive, you should add it to your PATH statement in the 
  441. AUTOEXEC.BAT file.  For example:
  442. set path=c:\dos;c:\hi
  443. Hidden Image requires that as much system memory as possible be 
  444. available for use.  For this reason, you should temporarily disable any 
  445. drivers which use large amounts of extended memory:  for example, 
  446. SMARTDRV.  Simply place a REM command in front of the offending 
  447. command in your CONFIG.SYS or AUTOEXEC.BAT file.  In DOS 6, 
  448. you may want to use the "multi-boot" feature to allow your system to have 
  449. different memory configurations.  Remember that after changing your 
  450. CONFIG.SYS file you must re-boot your computer.  
  451. To start running Hidden Image, just type:
  452. > hi
  453. If you are not in the "\HI" directory, the PATH variable must reference it 
  454. as described above.  Alternatively, you can access the file directly by 
  455. typing:
  456. > \hi\hi
  457.  
  458.  
  459. Quick Start
  460. Upon installation, Hidden Image is set up to run a quick demo.  To run 
  461. the demo, first run Hidden Image by typing "HI" and hitting enter.  Next 
  462. place the mouse cursor on the "File" menu at the top of the screen and 
  463. click any mouse button.  Move the mouse cursor to the "Load Parameters" 
  464. entry on the menu and click any mouse button.  Type "quick.ini" on the 
  465. keyboard and press return.  Next Click again on "File", then on "Load 
  466. Frame 1", then on "OK".  Now click on "Maxen" and then "Go".  Watch 
  467. what happens.
  468.  
  469. Other Things To Do Before Running Hidden Image
  470.  
  471. Setting the TEMP System Variable
  472. It is a good idea to have a TEMP directory set up on your system.  Many 
  473. programs such as Microsoft Windows require one, so you may already 
  474. have one set up.  If not, add the following to your AUTOEXEC.BAT file:
  475. set temp=c:\temp
  476. And run the following command:
  477. md c:\temp
  478. The swap file used by Hidden Image when virtual memory is required will 
  479. be located in this directory.  
  480.  
  481. VESA Drivers
  482. Hidden Image works best with "Super-VGA" video cards.  The main 
  483. reason for this is that 256 color modes are best for displaying CCD images, 
  484. but standard VGA is only capable of 256 colors in the 320x200 resolution 
  485. mode.  This is the default mode Hidden Image uses when you first start 
  486. the program.  This is a pretty ugly video mode, but we use it because it is 
  487. sure to work.  The first thing you will want to do is change modes.  
  488. The ATI Technologies VGA Wonder series of video cards is directly 
  489. supported at up to 800x600.  When you start Hidden Image for the first 
  490. time, use the mouse to select the "View" menu, and select the "Video 
  491. Mode" entry.  This allows you to change the resolution of the screen.  If 
  492. you have an ATI card, select "ATI" under "Card", then select "640x480" 
  493. under "Screen Resolution", and hit "OK".  If you want to run an ATI card 
  494. at 1024x768 resolution you need a VESA driver as described below.  
  495. Many other video cards are compatible with Hidden Image if you first 
  496. load a VESA driver.  Usually such a driver is supplied with your video 
  497. card.  If not, a program called "UNIVESA" has been included with the 
  498. package.  
  499.  
  500. The reason for the VESA drivers is a lack of standards for Super-VGA 
  501. video cards.  The drivers make your video card look like it has a standard 
  502. interface, so Hidden Image can talk to it.  For more information, refer to 
  503. the description of the video mode dialog box, and see the file 
  504. "UNIVESA.DOC" on the distribution disk.  
  505.  
  506. Hidden Image and Microsoft Windows
  507.  
  508. It is possible to run Hidden Image from a DOS box within windows.  
  509. There may be problems if Hidden Image tries to access virtual memory 
  510. (this usually will not happen until you try to perform a deconvolution).  
  511. Also, Hidden Image will run much more slowly under Windows.  There 
  512. will also be less memory available.  It is best to limit the use of Hidden 
  513. Image to file translations and simple functions like "Permanent Stretch" 
  514. while running in Windows. 
  515.  
  516. We recommend that you quit Windows before running Hidden Image.  
  517.  
  518.  
  519. 5.    PROCESSING TUTORIAL
  520.  
  521. In this section we take the user through a step-by-step procedure showing 
  522. how images are processed using Hidden Image.  The first section explains 
  523. how to set up the video mode and introduces some of the terminology used 
  524. in operating Hidden Image.  If you are already familiar with this type of 
  525. user interface and have your video mode set up, you can skip ahead to the 
  526. next section.  The following sections explain how to process the example 
  527. images supplied with Hidden Image.  
  528. This tutorial assumes that the default settings are in use.  To restore the 
  529. default settings, delete the "HI.INI" file from your working directory 
  530. before starting the program.  
  531.  
  532. Program Setup
  533.  
  534. Install Hidden Image following the instructions in the installation section 
  535. of this manual.  
  536.  
  537. If you have a Super-VGA video card, load the VESA driver supplied with 
  538. the card.  If no driver was provided with your card, run the UNIVESA 
  539. program supplied with Hidden Image.  UNIVESA may not work with 
  540. some cards.  If this happens contact the manufacturer of your card and 
  541. request a VESA driver.  Hidden Image can still be used in VGA mode.  
  542. Unfortunately only two modes are available:  320x200 with 256 colors, and 
  543. 640x480 with 16 colors.  The 16-color display mode provides a limited-
  544. quality display which is often useful on notebook computers.  To run 
  545. UNIVESA, type:
  546. > univesa
  547. Now start up Hidden Image as follows:
  548. > hi
  549. The program defaults to the 320x200 display, which is not very attractive 
  550. but is supported by all VGA-compliant video cards.  We will next select a 
  551. more attractive video mode.  For the purposes of this tutorial, we will use 
  552. the VESA 640x480 video mode.  If you do not have a VESA driver, you 
  553. can either use ATI or VGA as appropriate.  
  554.  
  555. There is a menu bar at the top of the screen.  The menus are "File", 
  556. "View", "Process", "MaxEnt", and "Utility".  Using the mouse, place the 
  557. arrow on the "View" menu and click any mouse button.  A pop-down 
  558. menu appears.  
  559.  
  560. Now place the mouse cursor on the "Set Video Mode" menu entry and 
  561. click any mouse button.  The "Set Video Mode" dialog box appears.  Place 
  562. the tip of the mouse cursor over the small circle (a "selector") beside the 
  563. "640 x 480" heading and click a button.  Now move the mouse cursor over 
  564. the VESA selector and click any mouse button.  Now place the mouse over 
  565. "OK" and click.  
  566.  
  567. The screen will briefly disappear as the video card is re-initialized, and the 
  568. screen will re-appear in the new video mode.  If an error box appears, you 
  569. have selected an illegal mode (e.g. 1024x768 with VGA selected).  If the 
  570. program aborts with the message "cannot initialize graphics", you have 
  571. selected an incorrect video card or you forgot to load the VESA driver.  
  572. The program aborts because it cannot initialize the card.  Simply restart 
  573. Hidden Image and check your settings.  
  574.  
  575. You do not have to run Hidden Image from the same directory that the 
  576. images are stored in.  To tell Hidden Image where the files are, place the 
  577. mouse cursor on the "File" menu and click.  Click on the "File Path" menu 
  578. item, and a dialog box appears.  Enter the correct path to the files using 
  579. standard DOS format in the space provided, and hit enter.  If you typed in 
  580. a non-existent path, an error box will appear.  Simply hit "OK", click on the 
  581. directory text field, and try entering the path again.  Instead of re-typing 
  582. the whole field, you can backspace.  
  583.  
  584. You are now ready to work with images.  
  585.  
  586.  
  587. Image of M51
  588.  
  589. The image of M51 is copyright (c) 1991 by Neyle Sollee, and is provided 
  590. with his permission for tutorial use only.  Do not distribute or publish this 
  591. image in any form without the permission of the copyright holder.  
  592. Run Hidden Image as described above.  Make sure the video mode is set 
  593. to 640x480, and that the file is in the current working directory (or use 
  594. "File Path" as explained above).  
  595.  
  596. First we must load the image.  Click on the "File" menu, and then click on 
  597. the "Load Frame 1" menu item.  Now click on the "Format" button to 
  598. bring up a second dialog box.  On the "File Format" selector list, click on 
  599. the "FITS" button.
  600.  
  601. The original dialog box reappears.  Click on the "File Name" text field.  
  602. Enter "*.hi" using the keyboard.  Click on the "Search" button.  If the file is 
  603. in your working directory (i.e., the "File Path" was correctly set), all files 
  604. with the extension ".hi" will appear in the box.  Double-click on the file 
  605. M51.HI.  The image should appear on the left side of the screen.  
  606. Notice there are a few problems with the image.  The star images are 
  607. trailed slightly, and there is a dark spot in upper right of the image 
  608. (probably caused by dust in the camera). 
  609.  
  610. First we will play with contrast stretching the image.  Click on the "View" 
  611. menu and then on the "Histogram" menu item.  A histogram of the image 
  612. will appear at the bottom of the screen.  The left side of the histogram 
  613. represents the darker image pixels, and the right side represents the 
  614. brighter image pixels.  The height of the histogram at any point shows you 
  615. how many pixels there are of that brightness.  The mathematically inclined 
  616. should note that these are "log-log" histograms.  
  617.  
  618. Also notice the cursors at the bottom of the histogram.  The cursors 
  619. indicate how the image is stretched.  Anything between the red and green 
  620. cursors is displayed as a gray scale.  Anything above the green cursor is 
  621. displayed as bright white (saturated).  Anything below the red cursor is 
  622. displayed as black.  The yellow cursor is used to adjust gamma.  We'll 
  623. come back to gamma in a moment.  
  624.  
  625. Hidden Image has several automatic stretch settings which automatically 
  626. adjust these cursors based on the histogram.  These settings are 
  627. compromises and manual adjustment is usually required for the best 
  628. display.  The cursors can be adjusted using the mouse.
  629. To see the core of the galaxy better, move the green cursor to the right.  
  630. To do this, place the mouse cursor where you want the green cursor to end 
  631. up.  Click on the right mouse button.  Try several different settings and see 
  632. what happens.  
  633.  
  634. To move the red cursor, use the left mouse button.  Experiment with the 
  635. setting of both cursor to see how they work.  
  636. Restore the automatic stretch by hitting the "F6" key.  Now try moving the 
  637. gamma cursor to the right using the middle button on the mouse.  If you do 
  638. not have a three-button mouse, click both the left and right buttons 
  639. simultaneously.  If you move the gamma cursor half-way to the right side, 
  640. you will see more detail in faint regions of the spiral arms.  Experiment 
  641. with both the red and green cursor.  Moving the gamma cursor to the left 
  642. will generally result in excessive contrast between the bright and dim areas 
  643. of the image.  
  644.  
  645. You probably noticed that changing the gamma caused the display to slow 
  646. down.  To turn the gamma back off, click on the "View" menu, then on the 
  647. "View Options" menu item.  Set the "Frame 1 Gamma" text field to 1 using 
  648. the mouse and keyboard, and click "OK".  A gamma of 1.0 is the off 
  649. position.  Alternatively, you can click off the "Enable Gamma" button, but 
  650. now gamma adjustment with the cursor will not be available.  
  651. Now, let's try to remove the dark spot.  The spot is located between the 
  652. spiral arms on the upper right portion of the image.  Click on the "Process" 
  653. menu, then on the "Nonlinear Filters" menu item.  Under the "Function" 
  654. selector list click on the "Dead Pixel" button.  Using the mouse and 
  655. keyboard set the "Dead Pixel Thr." to 90.  Click on "OK".  The processed 
  656. image will appear on the right side of the display.  This will take a while to 
  657. calculate.  
  658.  
  659. This algorithm works best on single dark pixels, such as those caused by a 
  660. defective pixel on the CCD camera.  The algorithm was designed to not 
  661. damage the image, so it is gentle in its action.  Since this is a large dust 
  662. spot, it will require a few applications of the algorithm.  To apply the dead 
  663. pixel removal again, click on the "Process" menu, then on the "Copy 2*1" 
  664. menu item.  This will move the image back to the left side.  You can now 
  665. repeat the dead pixel removal procedure by clicking on the "Process" 
  666. menu, then on the "Nonlinear Filters" menu item, then on "OK".  Repeat 
  667. this copy and process cycle for a third time, and the dark spot will be 
  668. entirely gone.  Other areas of the image will not be affected by this 
  669. procedure.  Copy the image back to the left side in preparation for the next 
  670. step.  
  671.  
  672. Now we will perform the Maximum Entropy Deconvolution.  Stretch the 
  673. image so you can see the dimmest parts of the galaxy.  The core and spiral 
  674. arms should be saturated or "burned in".  Click on the "MaxEnt" menu, 
  675. then on the "Basic Setup" item.  Set the "Iterations" field to 15, and the 
  676. "Photons Per A/D Unit" to 6.67 (this is the setting for the ST-6 camera 
  677. used to make this image).  Click on "OK".  
  678.  
  679. The next step is to obtain an estimate of the image background level by 
  680. sampling the image in several areas.  This level is used by the Maximum 
  681. Entropy algorithm to help obtain a correct estimate of the noise in the 
  682. image.  
  683.  
  684. Now click on the "MaxEnt" menu, then the "Noise" menu item.  The dialog 
  685. box should already be set correctly; just verify that "Distribution" is set to 
  686. "Poisson" and "Extract From Image" is enabled (with an X in the box).  
  687. Click on "OK".  The mouse cursor will change to a box shape.  Using the 
  688. left, right and middle mouse buttons, adjust the size of the box to its 
  689. second-smallest setting.  We now want to use this cursor to get a sample of 
  690. the background of the image.  The darkest areas of this image contain only 
  691. background.  Move the cursor to one of the corners farthest from the 
  692. galaxy.  Be careful to avoid the padding bands at the top and bottom of the 
  693. image.  These bands are there because the ST-6 camera images do not 
  694. completely fill the 256 pixel height of the image buffer.  Now click on the 
  695. left mouse button to sample the background.  A statistics box appears on 
  696. the screen to indicate various measurements; this can be ignored.  Select 
  697. several different dark locations in the image in the same manner.  Normally 
  698. the size of the box is adjusted to be as large as possible without including 
  699. any bright area.  Only use the very darkest areas of the image.  
  700.  
  701. After taking three or four samples of different areas, move the mouse 
  702. cursor to the top menu bar and click the left button.  An information box 
  703. will appear in the lower left corner of the screen.  The value indicates the 
  704. calculated background level.  This number will be around 1350, but the 
  705. exact value will depend on where you sampled the image.  If it is much 
  706. higher, you have accidentally sampled a bright area; in that case, repeat this 
  707. procedure.  
  708.  
  709. Now we need to select a point-spread function.  The point-spread function 
  710. tells Maximum Entropy how the image was blurred.  Luckily, we can 
  711. simply use one of the blurred stars as the point-spread function.  In almost 
  712. all deep-sky images there are suitable stars available.  
  713.  
  714. We want to pick a good star for this purpose.  The ideal star is not double, 
  715. does not lie on top of nebulosity, and is not saturated.  A saturated star will 
  716. not have the correct shape because the top is flattened.  The star should be 
  717. as bright as possible without being saturated.  Look at the stars carefully, 
  718. adjusting the stretch to see anything faint near the star.  For example, the 
  719. star in the upper right of the image is close to saturation and is very near 
  720. another star.  Stars located in the spiral arms would not be a good choice 
  721. because of the bright background.  They could be tried if there were no 
  722. other good choices.  There is a pair of bright stars on the left side of the 
  723. image.  The leftmost of these two appears to be the best choice in this 
  724. image.  
  725.  
  726. First stretch the image so that the faintest outer portion of the star image is 
  727. visible.  Click on the "MaxEnt" menu, then on the "Select PSF" menu item.  
  728. The dialog box should already be set correctly, but verify that the 
  729. "Function Type" is set to "From Image", and click "OK".  
  730. The cursor again changes to a box.  Adjust its size using the right and 
  731. middle buttons to include all of the star, including the faint outer parts.  
  732. Because of the trailing in the image, the box needs to be at the third biggest 
  733. size.  Center the box carefully on the star.  Press the spacebar or the left 
  734. mouse cursor to select the star.  The spacebar is safer because you won't 
  735. accidentally move the mouse.  A statistics box appears on the right hand 
  736. side of the screen.  The right-hand image changes to show just the 
  737. extracted star.  You can examine the star image by adjusting the stretch on 
  738. the right-hand image.  The star image is also saved in a special image buffer 
  739. which you can't see, so you could change the right-hand image without 
  740. affecting MaxEnt.  
  741.  
  742. Before starting MaxEnt, hit the "F6" key to enable automatic stretching.  
  743. To begin Maximum Entropy processing, click on the "MaxEnt" menu, then 
  744. click on "Go".  
  745.  
  746. Maximum Entropy Processing will require a substantial amount of time to 
  747. complete, depending on how fast your machine is.  The processing 
  748. algorithm was carefully designed for the maximum possible speed on a PC.  
  749. Prior to Hidden Image, this algorithm was only available for very 
  750. powerful and expensive mainframes and workstations.  
  751.  
  752. Watch the right hand image develop.  An information box in the lower left 
  753. corner indicates the progress.  At first it shows "Init" while various internal 
  754. arrays are set up.  Next it shows "0", indicating that the first iteration has 
  755. started.  It then counts 1, 2, 3 and so on.  If you decide the image looks 
  756. good enough, you can hit the <ESC> key to stop iterating.  The current 
  757. iteration will complete before MaxEnt will stop, so there could be a fairly 
  758. long delay if you have a slower computer.  
  759.  
  760. The image will get worse before it gets better.  You will notice that there 
  761. will be a dark ring around any very bright stars that appear on top of the 
  762. spiral arms.  This is normal for Maximum Entropy processing.  When it is 
  763. finished, the left hand image will look out of focus in comparison!  The 
  764. stars in the processed image are noticeably smaller, and tiny details are 
  765. visible in the spiral arms.  When the final iteration is complete or when 
  766. processing is stopped manually, a special dialog box will appear on the 
  767. screen.  This dialog box is unique in that you can still manually adjust the 
  768. stretch of the right-hand image while the box is displayed.  If you want to 
  769. temporarily view the images without the dialog box present, hit the "Hide" 
  770. button.  Press any mouse button to restore the box.  You can request more 
  771. iterations by entering a number and hitting "OK".  In the case that the 
  772. image is completely processed; just hit "Stop".  Once you hit "Stop" you 
  773. cannot ask for more iterations without starting over.  
  774.  
  775. For the best possible view of the galaxy, there is one more step we can do:  
  776. Histogram Equalization.  This procedure is useful because computer 
  777. displays lack the ability to display a wide range of intensities.  This 
  778. algorithm compresses the overall contrast range of the image without 
  779. affecting the contrast of subtle features.  
  780.  
  781. Copy the image back to the left-hand size using the "Copy 2*1" menu item 
  782. under the "Process" menu.  Select the "Process" menu again and click on 
  783. the "Hist. Equalization" menu item.  On the "Equalization Type" selector 
  784. list click on the "Exponential" item.  Make sure that the "Auto Scale" 
  785. switch is enabled (showing an "X"), and click "OK".  Adjust the stretch on 
  786. the right hand image for the most pleasing display.  Now you can trace the 
  787. spiral arms right into the center core while still viewing detail in the outer 
  788. areas of the galaxy.  After histogram equalization, you might notice that the 
  789. cores of the galaxies have a small dark spot in the center.  This was caused 
  790. by saturation in the original image.  For ideal reconstructions, it is better to 
  791. add up several unsaturated  images (shorter exposures) using the image 
  792. combination feature of Hidden Image.  
  793.  
  794. You might want to reload the original image into Frame 1, and compare it 
  795. to the processed image in Frame 2.  It might be hard to believe that these 
  796. are the same image!  
  797.  
  798. The next step is to save the image (not available in demo version).  Parts of 
  799. the image may now be brighter than they were in the original image.  Also, 
  800. the brightness range of the image may be larger than the desired file format 
  801. allows.  Let us save this as a TIFF image, which has only an 8-bit 
  802. brightness range.  First click on "Process" and "Copy 2*1".  Adjust the 
  803. stretch on the left-hand image for the most pleasing display; this will be 
  804. how it is saved.  Next click on "Process" and "Permanent Stretch".  This 
  805. feature allows you to save the stretching you have just performed.  Select 
  806. the "256" option under the "Gray Levels" selector list.  Select "From 
  807. Screen" under the "Stretch Mode" selector list.  Hit "OK", and the rescaled 
  808. image will appear in the right-hand frame.  Now you can safely save Frame 
  809. 2 as a TIFF file.  
  810.  
  811. Select "File" and "Save Frame 2".  Click on "Format".  Under the "File 
  812. Format" selector list select "TIFF".  Make sure "Compress File" is enabled 
  813. (to save disk space), and click "OK".  Enter in the desired file name, such 
  814. as M51.TIF, and click "OK".  This file can now be read by many different 
  815. applications, such as word processors and photographic image 
  816. manipulation programs.  
  817.  
  818. Congratulations!  You have performed your first Maximum Entropy 
  819. Deconvolution!  You should try experimenting with the various features of 
  820. Hidden Image to see what they all do to this image.  
  821.  
  822.  
  823. Image of Jupiter
  824.  
  825. The image of Jupiter is copyright (c) 1993 by Terence Dickinson and Alan 
  826. Dyer, and was taken at the University of Toronto Southern Observatory at 
  827. LasCampanas, Chile.  It is provided for tutorial use only.  Do not distribute 
  828. or publish this image in any form without the permission of the copyright 
  829. holders.  
  830.  
  831. Run Hidden Image as described above.  Make sure the video mode is set 
  832. to 640x480, and that the file is in the current working directory (or use 
  833. "File Path" as explained above).  
  834.  
  835. First we must load the image.  Click on the "File" menu, and then click on 
  836. the "Load Frame 1" menu item.  Now click on the "Format" button to 
  837. bring up a second dialog box.  On the "File Format" selector list, click on 
  838. the "FITS" button.
  839.  
  840. The original dialog box is restored.  Click on the "File Name" text field.  
  841. Enter "*.HI" using the keyboard.  Click on the "Search" button.  If the file 
  842. is in your working directory (i.e., the "File Path" was correctly set), all files 
  843. with the extension ".HI" will appear in the box.  Double-click on the file 
  844. JUPITER.HI.  The image should appear on the left side of the screen.  
  845. Set the automatic stretch by clicking on "View" and "Planet Stretch".  If 
  846. you want, you can manually fine tune the stretch as described above.  
  847. Now we will perform the Maximum Entropy Deconvolution.  Click on the 
  848. "MaxEnt" menu, then on the "Basic Setup" item.  Set the "Iterations" field 
  849. to 30, and the "Photons Per A/D Unit" to 80 (this is the setting for the 
  850. camera used to make this image).  Click on "OK".  
  851.  
  852. Now click on the "MaxEnt" menu, then the "Noise" menu item.  For 
  853. planets, it usually works better to select the uniform noise model.  Select 
  854. the "Uniform" button under the "Distribution" selector list, and click "OK".  
  855. This time, we will be extracting not just the background level, but also the 
  856. noise level.  The measurements is made in the same manner as before.  
  857. Make sure that "Extract From Image" is enabled (with an X in the box).  
  858. Click on "OK".  The mouse cursor will change to a box shape.  We now 
  859. want to use this cursor to get a sample of the background of the image.  
  860. The darkest areas of the image contain only background.  Most of this 
  861. image contains glare from the planet; use the very corner of the image.  
  862. Adjust the mouse cursor to a medium size using the right and middle 
  863. buttons.  Move the cursor right up to the corner of the image and click the 
  864. left button.  A statistic box appears on the screen to indicate various 
  865. measurements; this can be ignored.  Move the mouse cursor to the top 
  866. menu bar and click the left button.  An information box will appear in the 
  867. lower left corner of the screen.  The value indicates the calculated 
  868. background level.  This number will be around 100, but the exact value will 
  869. depend on where you sampled the image.  If it is much higher, you have 
  870. sampled a bright area; in this case, repeat this procedure.  If you check the 
  871. "Noise" dialog box again, the "Uniform Noise Level" should be set around 
  872. 12.  
  873.  
  874. Now we need to select a point-spread function.  The point-spread function 
  875. tells Maximum Entropy how the image was blurred.  Unfortunately, we 
  876. don't have a star in the image.  We couldn't have even used the image of a 
  877. moon of Jupiter, because the moons are not stars - they are resolved by the 
  878. telescope and show small disks.  Instead we will have to use an analytical 
  879. point spread function.  The problem is guessing what the size of the blur is; 
  880. for now we'll just tell you the right answer.  
  881.  
  882. Click on the "MaxEnt" menu, then on the "Select PSF" menu item.  Set 
  883. "Function Type" to "Gaussian".  Set the "Pixel Aspect" selector to "1:1".  
  884. Enter 1.8 in the "Standard Deviation" field, and click "OK".  The standard 
  885. deviation is our estimate of the size of the blur circle.  A simple and fast 
  886. experimental procedure you can use to find this value is described in the 
  887. Tips section.  
  888.  
  889. Before starting MaxEnt, hit the "F10" key to enable automatic stretching.  
  890. To begin Maximum Entropy processing, click on the "MaxEnt" menu, then 
  891. click on "Go".  As before, watch the image develop in the right-hand 
  892. frame.  This image is relatively difficult to process because most of the 
  893. image is uniformly bright; therefore it will take many iterations.  Also a 
  894. bright spot will appear in the image temporarily; this is normal and will 
  895. disappear after sufficient iterations.  When the program has finished 
  896. iterating hit the "Stop" button on the dialog box.  
  897.  
  898. You might want to try an unsharp mask on the resulting image.  This 
  899. boosts the contrast of surface details.  First click on "Process" and "Copy 2
  900. *1".  Next select "Process" and "Unsharp Mask".  Set "Weight" to 40, 
  901. "Radius" to 5, and "Order" to 1.  Hit "OK".  The resulting image should be 
  902. impressive.  Try adjusting the stretch controls for an optimal display.  You 
  903. can also try experimenting with the "Weight" and "Radius" value.  
  904. The next step is to save the image.  Parts of the image may now be brighter 
  905. than they were in the original image.  Also, the brightness range of the 
  906. image may be larger than the desired file format allows.  Let us save this as 
  907. a TIFF image, which has only an 8-bit brightness range.  First click on 
  908. "Process" and "Copy 2*1".  Adjust the stretch on the left-hand image for 
  909. the most pleasing display; this will be how it is saved.  Next click on 
  910. "Process" and "Permanent Stretch".  This feature allows you to save the 
  911. stretching you have just performed.  Select the "256" option under the 
  912. "Gray Levels" selector list.  Select "From Screen" under the "Stretch 
  913. Mode" selector list.  Hit "OK", and rescaled image will appear in the right-
  914. hand frame.  Now you can safely save Frame 2 as a TIFF file.  
  915.  
  916. Select "File" and "Save Frame 2".  Click on "Format".  Under the "File 
  917. Format" selector list select "TIFF".  Make sure "Compress File" is enabled 
  918. (to save disk space), and click "OK".  Enter in the desired file name, such 
  919. as JUPITER.TIF, and click "OK".  This file can now be read by many 
  920. different applications, such as word processors and photographic image 
  921. manipulation programs.  
  922.  
  923. The image of Jupiter you have produced shows fine detail much more 
  924. clearly than the original.  Note especially the detail inside the Great Red 
  925. Spot.  
  926.  
  927.  
  928. 6.    USER INTERFACE OPERATION
  929.  
  930. If you are familiar with Windows, OS/2, or Macintosh operating systems, 
  931. you will feel right at home in Hidden Image.  If you are very familiar with 
  932. these types of interfaces and want to "cut to the chase", first read the 
  933. keyboard/mouse quick reference section at the back of the manual, then 
  934. skip ahead to the tutorials.  You will want to come back later to read this 
  935. chapter, especially the sections on the Processing and MaxEnt menus.  
  936. We recommend that you read this section with the computer handy.  It is 
  937. much easier to understand the concepts if you try them out in Hidden 
  938. Image.  
  939.  
  940. Principles and Goals
  941. The user interface for Hidden Image was designed by an amateur 
  942. astronomer who has more than 20 years of experience at observing, and 
  943. who has logged many hours using a computer at the telescope.  The most 
  944. significant finding from this work is that most astronomical software wasn't 
  945. designed by people who have ever used a telescope!  
  946.  
  947. The user interface for Hidden Image was derived from software used to 
  948. control a telescope in the field.  Therefore many of the user interface 
  949. functions are designed around the requirement to operate in the dark, free 
  950. of a visible keyboard.  Although this may or may not be the way you use 
  951. Hidden Image, this user interface will be standard for Sehgal Corporations 
  952. products, many of which will be used at the telescope during observing.  
  953. As a result, Hidden Image's operation centers around the use of a mouse 
  954. or other pointing device to avoid needless memorization of commands and 
  955. hunting for the right letter on a keyboard.  All operations can be performed 
  956. using the "point and click" approach including typing of file names and 
  957. parameters - a feature unique to Hidden Image.  Anyone who has used a 
  958. CCD camera in total darkness will appreciate the convenience of this!  
  959. The primary purpose of a user interface is to simply make the functions of 
  960. the program available to the user.  However, the difference between a 
  961. functional program and a good program is how easily the user can operate 
  962. it.  It can be difficult to design a user interface which is simultaneously easy 
  963. for a novice to learn, yet convenient for the "power user".  
  964.  
  965. The current trend in user interfaces is the "Graphical User Interface" or 
  966. GUI.  This term really means that there are a bunch of pretty buttons and 
  967. things to click on with a mouse. Typically, this means the use of "pop-
  968. down menus" and "dialog boxes".  We have adopted this method because it 
  969. eliminates "modes", is clear and simple, provides sufficient flexibility, and 
  970. eliminates the need to memorize commands and function keys.  For some 
  971. frequently used operations, function keys are available to the user.  Using 
  972. them or not is a matter of preference. 
  973.  
  974. One important feature of Hidden Image is the way the images are 
  975. displayed.  The user can adjust the contrast, brightness, and gamma of the 
  976. displayed image without actually altering the data.  That way you can 
  977. always have the display adjusted optimally without affecting subsequent 
  978. image processing steps.  There are also a set of convenient "auto-stretch" 
  979. settings available.  These automatically adjust the display settings 
  980. depending on the content of the image.  
  981.  
  982.  
  983. General Operation
  984.  
  985. Hidden Image makes use of the screen by dividing it up into areas which 
  986. are visible or invisible depending on the operation being performed.  The 
  987. most evident on program startup is the menu bar which consists of pop-
  988. down menus to control the operation of Hidden Image.  Other areas 
  989. include the image areas, dialog box areas, information box areas and 
  990. progress box areas.  Each area is dealt with below.
  991.  
  992. Image Areas
  993.  
  994. There are one or two image areas depending on the user selectable mode of 
  995. operation.  Each area is capable of displaying one image frame at a time.  
  996. There are two image frames called Frame 1 and Frame 2.  A frame can be 
  997. thought of as a buffer which holds the image for display and processing.  In 
  998. single frame mode there is one image area in the center of the screen which 
  999. can be toggled to display either Frame 1 or Frame 2.  In two frame mode 
  1000. there are two side by side image areas with the left side displaying Frame 1 
  1001. and the right side displaying Frame 2.  
  1002.  
  1003. Image processing is often a trial-and-error process, and there are various 
  1004. techniques with many different options.  To support this, the user interface 
  1005. has been designed with two visible frames.  Frame 1 contains the starting 
  1006. image, and Frame 2 contains the result of the processing.  The user can try 
  1007. different techniques, and each time the same image from Frame 1 is 
  1008. processed and the result placed in Frame 2.  The original data is never 
  1009. overwritten or destroyed.  When the user is happy with the results, the 
  1010. Frame 2 image can be transferred back to Frame 1 in preparation for the 
  1011. next step, if desired.  This arrangement holds true for all of the functions 
  1012. under the "Process" and "MaxEnt" menus.  
  1013.  
  1014. It is possible to view both frames simultaneously, or one at a time.  The 
  1015. reason for having two modes is the screen resolution.  If the frame size 
  1016. selected is larger than the area available on the screen, the image is scaled 
  1017. down to fit.  For example, if the screen resolution is 800 pixels wide by 600 
  1018. pixels high and the frame size selected is 512 pixels by 512 pixels, there is 
  1019. not enough room to fully display two side by side frames.  What Hidden 
  1020. Image does is display only every other pixel, so the images are displayed at 
  1021. lower resolution.  Only the 1024x768 video mode is capable of displaying 
  1022. two full 512x512 frames side-by-side.  In other modes, you may want to 
  1023. switch to single-frame viewing when examining the images.  
  1024.  
  1025.  
  1026. Histogram Areas
  1027.  
  1028. There is one histogram area per frame displayed (i.e., one in one frame 
  1029. mode, two in two frame mode).  The histogram area consists of a 
  1030. horizontal bar at the bottom of the screen with an optional histogram graph 
  1031. above it (see above screen diagram).  The histogram area includes up to 
  1032. three movable cursors which control the high stretch value, low stretch 
  1033. value and gamma correction value.  The histogram itself is displayed in a 
  1034. log-log fashion, which compresses the dynamic range.  
  1035.  
  1036. The screen can only display a limited range of brightness, so the user has to 
  1037. compromise.  If you adjust the high stretch value to 4096, then any pixel 
  1038. with this or a higher value will be displayed as maximum brightness.  You 
  1039. might want to adjust the display of a galaxy so that the core is saturated in 
  1040. order to see the spiral arms.  
  1041.  
  1042. The low stretch value determines what pixel value is shown as black.  If 
  1043. you adjust the low stretch value to 1000, then any pixel with a value of 
  1044. 1000 or less appears as black.  
  1045.  
  1046. The base of the histogram is the stretch bar.  The stretch bar is visible at all 
  1047. times.  The histogram can be turned on or off using via the View menu or 
  1048. using the F11 function key.  The histogram can be turned off because in 
  1049. some video modes it extends over part of the image (e.g., 320x200).  
  1050. On the stretch bar there are adjustable cursors which serve to control the 
  1051. image display for the above image frame.  Changing the cursor only affects 
  1052. how the image is displayed, the actual data in the buffer is unaffected.  The 
  1053. red "^" cursor indicates the low stretch value.  The green "^" cursor 
  1054. indicates the high stretch value.  The actual range of values along the 
  1055. stretch bar depends on the range of pixel values in the image.  
  1056. The yellow "|" cursor indicates the relative gamma value displayed when 
  1057. the gamma option is enabled (see below under "View Options" for how to 
  1058. turn gamma control on and off).  When the cursor is at the left side, gamma 
  1059. is set to 0.1; when it is at the right side, gamma is set to 2.  Gamma is used 
  1060. to change the contrast of the image in a non-linear way.  This means that 
  1061. you can display low-brightness features at high contrast while 
  1062. simultaneously displaying bright features at low contrast.  The reverse is 
  1063. also possible.  The best way to understand what gamma does is to load an 
  1064. image and play with the gamma and stretch cursors.  
  1065.  
  1066. You can view the actual numerical values for these three cursors by 
  1067. selecting the Manual Stretch dialog box using the View pop-down menu.
  1068. There are three methods to control the stretch cursors.  The first method is 
  1069. by using the mouse.  The mouse cursor arrow is placed along the scroll bar 
  1070. at the position where the cursor is to move to.  To move the low stretch 
  1071. cursor to that position the left mouse button is clicked once.  To move the 
  1072. high stretch cursor to that position the right mouse button is clicked once.  
  1073.  
  1074. The second method to control the stretch cursors is via the function keys as 
  1075. follows:
  1076.  
  1077. F1 - Moves low stretch cursor lower for Frame 1
  1078. F2 - Moves low stretch cursor higher for Frame 1
  1079. F3 - Moves high stretch cursor lower for Frame 1
  1080. F4 - Moves high stretch cursor higher for Frame 1
  1081. Shift F1 - Moves low stretch cursor lower for Frame 2
  1082. Shift F2 - Moves low stretch cursor higher for Frame 2
  1083. Shift F3 - Moves high stretch cursor lower for Frame 2
  1084. Shift F4 - Moves high stretch cursor higher for Frame 2
  1085.  
  1086. Each press of the key moves the cursor a certain fraction of the length of 
  1087. the scroll bar.  The rate of movement is controllable as follows:  
  1088.  
  1089. Ctrl F1 - Step Increment is very fine
  1090. Ctrl F2 - Step Increment is fine
  1091. Ctrl F3 - Step Increment is medium
  1092. Ctrl F4 - Step Increment is coarse
  1093.  
  1094. The function keys allow for more precise control of the stretch values for 
  1095. images where small changes make large differences (low contrast).  In 
  1096. addition, using the function keys allows stretching beyond the scale 
  1097. provided by the histogram bar.  
  1098.  
  1099. The third method to control the stretch cursors is by using the Manual 
  1100. Stretch dialog box under the View pop-down menu.
  1101. The gamma control cursor alters the display gamma correction factor for 
  1102. the image frame associated with a particular histogram area.  For the 
  1103. purposes of gamma correction the scroll bar can be considered to be a scale 
  1104. between 0.1 and 2.0 with 1.0 being the center.  The gamma cursor is 
  1105. controlled by two methods.  The first method is similar to the mouse 
  1106. control for the stretch cursors.  The mouse cursor arrow is positioned to 
  1107. the desired location for the gamma correction cursor.  The cursor is moved 
  1108. by clicking the center mouse button on a three button mouse, or by clicking 
  1109. the left and right buttons simultaneously.  The second method to control 
  1110. the gamma correction cursor is via the Manual Stretch dialog box under 
  1111. the View pop-down menu as explained below.  Using the Manual Stretch 
  1112. method permits entering gamma values beyond the 0.1 - 2.0 range of the 
  1113. gamma control cursor.  
  1114.  
  1115. Using gamma slows down the display.  For faster display, either turn off 
  1116. gamma using the dialog box or set the gamma to exactly 1.0.  
  1117.  
  1118.  
  1119. Dialog Box Areas
  1120.  
  1121. Dialog box areas are transient areas which appear on the screen on an as-
  1122. required basis in response to user action.  A dialog box is a box which 
  1123. provides information about items to the user and allows the user to provide 
  1124. information back to the program.  They essentially permit "dialog" between 
  1125. the user and the program.  Dialog boxes are displayed centered on the 
  1126. screen.  
  1127.  
  1128. Most dialog boxes have a standardized set of controls and control buttons.  
  1129. The most prominent control area appears in the lower left corner of the 
  1130. dialog box.  It consists of alphanumeric characters in a shaded box.  This 
  1131. control is a substitute for the keyboard and is provided for use under low 
  1132. light conditions.  Any file name or numerical information required by a 
  1133. dialog box can be entered by clicking on the field requiring the information, 
  1134. then clicking once on each required number, letter or character.  Note that 
  1135. this control area only appears if there are alphanumeric entry fields in the 
  1136. dialog box.  The "<" key in this control area is used as the backspace key.  
  1137. Of course the same information can be entered using the keyboard.  Note 
  1138. that editing is limited to backspace.  If you wish to edit text already present 
  1139. in the field, start by hitting backspace; otherwise the original text is 
  1140. automatically deleted when the first key is pressed.  
  1141.  
  1142. The next control common to all dialog boxes is the OK control button.  
  1143. Clicking once on this button commits the information entered in the dialog 
  1144. box and commences the action to be performed (such as loading a file).  An 
  1145. alternate method to activate the OK control is by hitting the "Enter" key on 
  1146. the keyboard.  The Cancel control button terminates the dialog box 
  1147. returning all information to its previous state.  An alternate method to 
  1148. activate the Cancel control is by hitting the "Esc" key on the keyboard.
  1149. In dialog boxes which permit file access there are three other possible 
  1150. buttons.  The Path control button opens another dialog box which permits 
  1151. the user to specify the DOS path for finding a file.  The path must be fully 
  1152. specified as per standard DOS.  The Format control button opens the File 
  1153. Format dialog box which permits the user to change the file format 
  1154. specification.  For areas requiring file name input, a third control button 
  1155. called Search will be present.  Clicking once on the Search control button 
  1156. will search in the present directory.  The search parameters can be specified 
  1157. by entering standard DOS wild cards (e.g. *.tif , jup*.fts) in the file name 
  1158. field.  
  1159.  
  1160. When the search button is hit, another dialog box appears with a list of the 
  1161. files found.  If no matching files are found, or if the file name field is left 
  1162. blank, the entire directory is listed.  The user can scroll up and down the 
  1163. list by clicking on the up/down arrows.  When the desired file is located, 
  1164. click on the file name and then click on OK.  Alternatively you can double-
  1165. click on the file name.  
  1166.  
  1167.  
  1168. Information Box Areas
  1169.  
  1170. Information box areas, like dialog box areas, are transient areas which 
  1171. appear on the screen on an as-required basis.  There are three principal 
  1172. areas for information boxes.  Error boxes and Warning boxes appear in the 
  1173. center of the screen.  Information boxes which provide information about 
  1174. Frame 1 appear on the lower right side of the screen (so as not to impinge 
  1175. on the image in Frame 1).  Information boxes which provide information 
  1176. about Frame 2 appear on the lower left side of the screen (so as not to 
  1177. impinge on the image in Frame 2).  
  1178.  
  1179.  
  1180. Progress Box Area
  1181.  
  1182. There is one progress box area on the lower left side of the screen.  This 
  1183. area is only active during a Maximum Entropy run.  This box serves to 
  1184. indicate the number of complete iterations of the Maximum Entropy 
  1185. algorithm.
  1186.  
  1187.  
  1188. Pop-down Menus and Dialog Boxes
  1189.  
  1190. All Hidden Image functions are accessed through mouse controlled pop-
  1191. down menus.  There are five principal menus:  File, View, Process, MaxEnt 
  1192. and Utility.  The menu is activated by positioning the mouse cursor arrow 
  1193. over the menu item and clicking any mouse button once.  Menu items are 
  1194. selected by positioning the mouse over the desired menu item and clicking 
  1195. any mouse button once.  Activating a menu item in this manner will either 
  1196. result in opening a dialog box for input or will result in some predetermined 
  1197. action as described below for each menu item.
  1198.  
  1199.  
  1200. File Menu
  1201.  
  1202. Clicking on the File pop-down menu provides a menu of mostly file 
  1203. input/output-related functions.  Exception to this include the Shell To DOS 
  1204. menu item, the About menu item and the Quit menu item which are 
  1205. grouped under the File menu because of graphical user interface tradition 
  1206. (most users would expect to find them here).
  1207.  
  1208.  
  1209. Set Frame Size
  1210.  
  1211. The Set Frames Size menu item enables the Set Frame Size dialog box
  1212. The buttons in this box simply select the frame size corresponding to the 
  1213. button.  All available frame sizes have dimensions which are a power of 
  1214. two.  The principal reason for this is the extensive use of Fast Fourier 
  1215. Transforms (FFTs) for most of the processing done in the package.  
  1216. Having dimensions which are a power of two is a requirement of the FFT 
  1217. algorithm used in MaxEnt and in the linear filters.  Images which are 
  1218. loaded into Hidden Image are padded or clipped as-required to fit the 
  1219. selected frame size.
  1220.  
  1221. The speed of processing, for both MaxEnt and filtering, is proportional to 
  1222. the size of the frame.  If on a particular computer an operation requires 10 
  1223. seconds for a 128x128 image, it will require 50 seconds for a 256x256 
  1224. image, 100 seconds for a 512x256 image, and 200 seconds for a 512x512 
  1225. image.  You will want to use the smallest frame size which holds your 
  1226. entire image.  Note that often the object of interest will not occupy the 
  1227. entire CCD frame; it may be more convenient to choose a smaller frame 
  1228. size in that case.  
  1229.  
  1230.  
  1231. Load Frame 1
  1232.  
  1233. Clicking on the this menu item opens the Load Frame 1 dialog box.  
  1234.  
  1235. This dialog box prompts the user for the file name of the image to load in 
  1236. Frame 1.  The lower left corner of the dialog box consists of alpha-numeric 
  1237. characters.  This control is a substitute for the keyboard provided for use 
  1238. under low light conditions.  The file name can be entered by clicking on the 
  1239. File Name field, then clicking once on each required number, letter or 
  1240. character.  Alternatively the file name can be entered with the keyboard.  
  1241. Clicking once on the Search control button will search in the directory 
  1242. specified by the path for the files specified by standard DOS wild cards 
  1243. (e.g., *.tif , jup*.fts) in the File Name field and open a new dialog box 
  1244. which lists the found files.  If the File Name field is blank when the Search 
  1245. button is clicked all the files in the directory will be listed.  The required file 
  1246. can now be selected by either double clicking on the file name or 
  1247. highlighting the file by clicking once on the file name and clicking on the 
  1248. OK control button.  The Path control button opens the File Path dialog box 
  1249. which permits the user to specify the DOS path for finding a file.  The path 
  1250. must be fully specified as per standard DOS.  The Format control button 
  1251. opens the Load File Format dialog box which permits the user to change 
  1252. the file format specification.  More details on the Path and Load File 
  1253. Format dialog boxes are provided below.  
  1254.  
  1255. Once you are sure the contents of the dialog box are correct, click on the 
  1256. OK button to start the file loading.  An alternate method to activate the OK 
  1257. button is by hitting the "Enter" key on the keyboard.  
  1258. The Cancel control button terminates the dialog box returning all 
  1259. information to its previous state.  An alternate method to activate the 
  1260. Cancel control is by hitting the "Esc" key on the keyboard.  The manner in 
  1261. which the file selected is loaded is controlled by the Load File Format 
  1262. dialog box.  Items of particular note are the Enable Scroll button and the 
  1263. Pad Percentile field.
  1264.  
  1265. Once the image has been loaded, you may be placed into image scroll 
  1266. mode.  This happens if scroll mode is enabled and the image is larger than 
  1267. the frame size.  See "Enable Scroll" below.  
  1268. Load Frame 2
  1269.  
  1270. Clicking on the this menu item opens the Load Frame 2 dialog box.  This 
  1271. dialog box operates in the same manner as the Load Frame 1 dialog box 
  1272. described above but applies to Frame 2.
  1273.  
  1274.  
  1275. Load File Format
  1276.  
  1277. Clicking on the this menu item opens the Load File Format dialog box.  
  1278. This dialog box controls the format of the files loaded into Hidden Image 
  1279. as well as the manner in which they are loaded.
  1280.  
  1281.  
  1282. File Format
  1283.  
  1284. The buttons under this heading specify the type of the file to be loaded into 
  1285. Hidden Image.  If the file loaded does not correspond to the format 
  1286. selected an error message box will appear.  (With some formats Hidden 
  1287. Image may not be able to tell if the format is correct.)
  1288.  
  1289.  
  1290. SBIG TYPE 3
  1291.  
  1292. Enabling this button causes the file to be loaded to be treated as a Santa 
  1293. Barbara Instruments Group Type 3 format file.  This format is appropriate 
  1294. for ST-4X, ST-5, ST-6, ST-7 and ST-8 CCD cameras.  The SBIG format 
  1295. has evolved over time and consists of an "Old Format", a Type I, Type II 
  1296. and Type III format with both compressed and uncompressed options.  
  1297. Hidden Image supports all listed formats for image loads.  The header 
  1298. information available from ST-4X, ST-5 and ST-6 images is preserved 
  1299. throughout processing and is saved with the image if the save format 
  1300. supports headers (i.e., SBIG Type 3 and FITS).  
  1301.  
  1302.  
  1303. SBIG ST-4
  1304.  
  1305. Enabling this button causes the file to be loaded to be treated as a Santa 
  1306. Barbara Instruments Group ST-4 CCD camera format file (Note do not use 
  1307. this for ST-4X images).
  1308. PC-Lynxx
  1309. Enabling this button causes the file loaded to be treated as a SpectraSource 
  1310. PC-Lynxx CCD camera format file.
  1311.  
  1312.  
  1313. FITS
  1314.  
  1315. Enabling this button causes the file to be loaded to be treated as a Flexible 
  1316. Image Transport System (FITS) format file.  Hidden Image fully supports 
  1317. the Draft FITS Standard NOST 100-0.3b for two-dimensional images.  
  1318. This standard is in wide use by professional astronomers and is one of the 
  1319. most common standards for astronomical imagery.  
  1320. Hidden Image can read any legal FITS image with BITPIX = 8, 16, 32, -
  1321. 32 or -64.  Numeric conversions are done automatically.  Pixels with the 
  1322. BLANK keyword value or a NAN value are set to zero.  BSCALE and 
  1323. BZERO values are handled appropriately.  
  1324.  
  1325. In addition to standard FITS files, proprietary FITS packed files are also 
  1326. fully supported for integer pixel images (BITPIX = 8, 16, or 32).  These 
  1327. packed files contain all of the information in a standard FITS file and when 
  1328. unpacked they are exactly the same as the original FITS file, bit for bit.  
  1329. They are however 2 to 4 times smaller.  The packing algorithm uses a 
  1330. modified Huffman coding technique operating either on the raw pixels, or 
  1331. on the differences between successive pixels.  The algorithm is much more 
  1332. effective for deep sky astronomical images than the common DOS packing 
  1333. routines PKZIP and LHARC.  Because the packing algorithm is bit for bit 
  1334. lossless, it cannot compress FITS files saved in floating point mode.  The 
  1335. format of these FITS packed files is not in the FITS standard.  Hopefully 
  1336. there will be a standardized compression format in the near future; in the 
  1337. meantime this function can save significant amounts of disk space.  In the 
  1338. event that you want use FITS files saved by Hidden Image with another 
  1339. program, you must be sure to save them in the uncompressed mode.  
  1340. Hidden Image reads packed files and regular FITS files transparently.  
  1341. This format is not available in HI256.
  1342.  
  1343.  
  1344. TIFF 
  1345.  
  1346. Enabling this button causes the file to be loaded to be treated as a Tagged 
  1347. Image File Format (TIFF) file.  Hidden Image supports the TIFF V5.0 
  1348. Specification for both LZW compressed and uncompressed files.  The TIFF 
  1349. file should be a single plane 8 or 16-bit TIFF which are the most common 
  1350. TIFF type for gray-scale images.  Meade camera users can import the 
  1351. native Meade 16-bit TIFF format.  The current version of Hidden Image 
  1352. does not support the input of 24-bit color TIFF files.  
  1353. Hidden Image does not support random-access LZW compressed files.  
  1354. Most modern programs use sequential access files.  If Hidden Image is 
  1355. unable to read a compressed TIFF file, load the file back into the 
  1356. application it came from and write it out as an uncompressed TIFF.
  1357. This format is also appropriate for Electrim CCD camera files.  The 
  1358. Electrim camera software can save images in two principal formats..  
  1359. Hidden Image automatically handles the aspect ratio correction for 
  1360. interlaced and non-interlaced Electrim images.
  1361.  
  1362.  
  1363. Raw
  1364.  
  1365. Enabling this button causes the file to be loaded to be treated as a Raw 
  1366. file.  A Raw file is an image of known dimensions and data-type stored 
  1367. row by row in a single unformatted file.  Hidden Image supports Raw 
  1368. files of any dimension in the formats specified below.  For Raw file 
  1369. input the X-Size and Y-Size as well as Raw Data Format must be 
  1370. specified as described below.  Error checking is performed by checking 
  1371. the size of the file named against the X-Size, Y-Size and data format 
  1372. specified.  If an inconsistency exists an error message information box is 
  1373. displayed and the file load is aborted. 
  1374.  
  1375.  
  1376. Enable Scroll
  1377.  
  1378. Selecting this button enables the scroll bars on image load.  If the image 
  1379. being loaded is larger than the frame size selected, enabling scroll allows 
  1380. the user to pan around the image to select the frame sized window on the 
  1381. image to process.  After the image is loaded, two yellow scroll bars appear 
  1382. on the screen.  A single click of the left mouse button with the mouse 
  1383. cursor arrow positioned along the scroll bar will cause the scroll bar cursor 
  1384. to move to that mouse position, panning the image.  Once the desired 
  1385. portion of the image is visible a single click of the left mouse button with 
  1386. the mouse cursor arrow positioned anywhere on the top main menu will 
  1387. commit that portion of the image for processing.  Essentially a frame sized 
  1388. portion of the image is clipped out for processing.  If any dimension of the 
  1389. image is smaller than the frame size, the scroll bar corresponding to that 
  1390. dimension will not function.  
  1391.  
  1392. During scroll the stretch bar is active.  The mouse can be used to move 
  1393. the stretch cursors.  The functions keys can also be used to change the 
  1394. stretch mode.  
  1395.  
  1396.  
  1397. Pad Percentile
  1398.  
  1399. This field applies to images which have any dimension smaller than the 
  1400. selected frame size.  The pad percentile is the histogram percentile to used 
  1401. to pad out the image with to fit the frame size.  
  1402.  
  1403. If 30% of the pixels in an image are at or below a value of 65, then the 
  1404. 30th percentile is 65.  When you load this image with pad percentile set to 
  1405. 30, the blank portions of the image frame will be filled with 65.  The idea is 
  1406. to get a number which is equal to the average background level.  Images 
  1407. vary considerably in how much background is in the image (e.g.,a sparse 
  1408. image of a few stars versus a crowded field). The exact setting is usually 
  1409. not critical; the setting is a compromise that usually does not need to be 
  1410. changed.  
  1411.  
  1412. The reason for padding the image is that when MaxEnt is run, the large 
  1413. step at the edge of the will result in an ugly "ringing" area.  
  1414. If you do not want the image padded, enter 0 (zero).
  1415.  
  1416.  
  1417. Interpolate Pixels to Square
  1418.  
  1419. On Image load the user can optionally "Make Square Pixels" for imagers 
  1420. with non-square pixel formats.  This feature helps those who will later use 
  1421. a third party product such as PhotoStyler to combine images into color 
  1422. ones. These packages were designed around scanners which have square 
  1423. pixels. The Maximum Entropy function works better with square pixels. 
  1424. The screen may need to be adjusted for the correct aspect ratio if this 
  1425. feature is used.
  1426.  
  1427. If pixel aspect ratio information is available in the header of the image 
  1428. format selected it will be used unless the Override Header Pixel Sizes check 
  1429. box is selected.  In this case the Manual Pixel Aspect Ratio fields will be 
  1430. used.  These fields are also used for file formats with no pixel aspect ratio 
  1431. information in the header.
  1432.  
  1433. Sanity checks are made on dialog box pixel sizes inputed by the user.  
  1434. Note: for TIFF images the XResolution and YResolution taggs do not 
  1435. provideX and Y pixel dimensions.  If header values are used these values 
  1436. are properly interpreted to make the pixels square.  For images with square 
  1437. pixels the best screen resolution is 640x480 to get the correct aspect ratio.
  1438.  
  1439.  
  1440. Raw/FITS Format
  1441.  
  1442. The button  under this heading only apply if the File Format selected is 
  1443. FITS or Raw.  This button opens a dialog box which allows the user to 
  1444. define the data type of the FITS/Raw file to be loaded as well as the image 
  1445. dimensions.  In addition for Raw files a value for the number of header 
  1446. bytes to skip can be specified.
  1447.  
  1448.  
  1449. IEEE Float
  1450.  
  1451. Enabling this button causes the bytes of the Raw file being read to be 
  1452. interpreted as IEEE Floating Point standard where each image pixel value 
  1453. is represented by a 32-bit floating point real number.
  1454.  
  1455.  
  1456. 8 Bit Int
  1457.  
  1458. Enabling this button causes the bytes of the Raw file being read to be 
  1459. interpreted as short integers where each image pixel value is represented by 
  1460. an unsigned eight-bit integer (one byte).
  1461.  
  1462.  
  1463. 16 Bit Int
  1464.  
  1465. Enabling this button causes the bytes of the Raw file being read to be 
  1466. interpreted as integers where each image pixel value is represented by an 
  1467. unsigned 16-bit integer (two bytes) in Intel standard order (least significant 
  1468. byte followed by most significant byte).
  1469.  
  1470.  
  1471. 32 Bit Int
  1472.  
  1473. Enabling this button causes the bytes of the Raw file being read to be 
  1474. interpreted as long integers where each image pixel value is represented by 
  1475. an unsigned 32-bit integer (four bytes) in Intel standard order.
  1476.  
  1477.  
  1478. X-Size
  1479.  
  1480. This field is only checked if the File Format selected is Raw.  This field 
  1481. specifies the width or X-dimension size of the Raw image being read in.
  1482.  
  1483.  
  1484. Y-Size
  1485.  
  1486. This field is only checked if the File Format selected is Raw.  This field 
  1487. specifies the height or Y-dimension size of the Raw image being read in.
  1488.  
  1489.  
  1490. Skip Header Bytes
  1491.  
  1492. This field allows the user to specify a value for the number of bytes to skip 
  1493. before beginning to read image data.  This is useful for treating a file with a 
  1494. header as a Raw file.   You can directly read the image data after skipping 
  1495. the header.
  1496.  
  1497.  
  1498. Save Frame 1
  1499.  
  1500. Clicking on the this menu item opens the Save Frame 1 dialog box.  
  1501. This dialog box prompts the user for the file name in which to save the 
  1502. image in Frame 1.  The lower left corner of the dialog box consists of 
  1503. alpha-numeric characters.  This control is a substitute for the keyboard 
  1504. provided for use under low light conditions.  The file name can be entered 
  1505. by clicking on the File Name field, then clicking once on each required 
  1506. number, letter or character.  Alternatively the file name can be entered with 
  1507. the keyboard.  The Path control button opens the File Path dialog box 
  1508. which permits the user to specify the DOS path for the saved file.  The path 
  1509. must be fully specified as per standard DOS.  The Format control button 
  1510. opens the Save File Format dialog box which permits the user to change 
  1511. the file format specification.  More details on the Path and Save File 
  1512. Format dialog boxes are provided below.  Clicking once on OK button 
  1513. commits the file name entered in the File Name field and commences the 
  1514. file saving.  An alternate method to activate the OK control is by hitting the 
  1515. "Enter" key on the keyboard.  The Cancel control button terminates the 
  1516. dialog box returning all information to its previous state.  An alternate 
  1517. method to activate the Cancel control is by hitting the "Esc" key on the 
  1518. keyboard.  The manner in which the file selected is saved is controlled by 
  1519. the Save File Format dialog box.  Items of particular note are the Compress 
  1520. File button and the Preserve Size field.
  1521.  
  1522.  
  1523. Save Frame 2
  1524.  
  1525. Clicking on the this menu item opens the Save Frame 2 dialog box.  This 
  1526. dialog box operates in the same manner as the Save Frame 1 dialog box 
  1527. described above but applies to Frame 2.
  1528.  
  1529.  
  1530. Save File Format
  1531.  
  1532. Clicking on the this menu item opens the Save File Format dialog box.
  1533.  
  1534.  
  1535. File Format
  1536.  
  1537. The buttons under this heading specify the type of file to be written by 
  1538. Hidden Image.  This format is independent of the Load Format box.  This 
  1539. is convenient if for example you are taking FITS files and saving them as 
  1540. TIFF files for importing into other software.  
  1541.  
  1542.  
  1543. SBIG Type 3
  1544.  
  1545. Enabling this button causes the file to be saved as a Santa Barbara 
  1546. Instruments Group Type III uncompressed format file.  The header 
  1547. information available from ST-4X, ST-5 and ST-6 images are preserved 
  1548. through out processing and is saved with the image.
  1549.  
  1550.  
  1551. SBIG ST-4
  1552.  
  1553. Enabling this button causes the file to be saved as a Santa Barbara 
  1554. Instruments Group ST-4 CCD camera format file.
  1555.  
  1556.  
  1557. PC-Lynxx
  1558.  
  1559. Enabling this button causes the file to be saved as a PC-Lynxx CCD 
  1560. camera format file.
  1561.  
  1562.  
  1563. Electrim
  1564.  
  1565. Enabling this button causes the file to be saved as a non-interlaced Electrim 
  1566. CCD camera format file.  
  1567.  
  1568.  
  1569. FITS
  1570.  
  1571. Enabling this button causes the file to be saved as a Flexible Image 
  1572. Transport System (FITS) format file.  Hidden Image fully supports the 
  1573. Draft FITS Standard NOST 100-0.3b for FITS file creation.  This standard 
  1574. is in wide use by professional astronomers and is one of the most common 
  1575. standards for astronomical imagery.  
  1576. BSCALE is set to one.  BZERO is set to zero except for BITPIX = 16 
  1577. where it is set to -32768.  
  1578.  
  1579. In addition to standard FITS files, proprietary FITS packed files are also 
  1580. fully supported for integer pixel images (BITPIX = 8, 16, or 32).  The 
  1581. packing of the file is controlled by the Compress File button in the Save 
  1582. File Format dialog box.  The BITPIX value of the new FITS file is 
  1583. controlled by the Data Format button in the Save File Format dialog box as 
  1584. described below.  
  1585.  
  1586.  
  1587. TIFF
  1588.  
  1589. Enabling this button causes the file to be saved as an 8-bit single plane 
  1590. Tagged Image File Format (TIFF) file with Intel byte order.  Hidden 
  1591. Image supports the TIFF V5.0 Specification for both LZW compressed 
  1592. and uncompressed files.  Some applications do not support compressed 
  1593. TIFF, so the uncompressed mode is provided for maximum compatibility.  
  1594. The TIFF file generated can be imported into many popular word 
  1595. processing and photographic processing packages.  
  1596.  
  1597.  
  1598. Raw
  1599.  
  1600. Enabling this button causes the file to be saved as a Raw file.  A Raw file is 
  1601. an image of known dimensions and data-type stored row by row in a single 
  1602. unformatted file.  The dimensions of the Raw file created normally 
  1603. correspond to the selected frame size.  This size can overridden using the 
  1604. Preserve Size button in the Save File Format dialog box, if the originally-
  1605. loaded image had a file header (i.e.,was ST-6 or FITS). 
  1606. Data Format
  1607.  
  1608. The buttons under this heading only apply if the File Format selected is 
  1609. Raw or FITS.  These buttons define the data type of any Raw file to be 
  1610. saved and the BITPIX value of any FITS file saved.  The BITPIX value 
  1611. determines whether the file is 8-bit, 16-bit or 32-bit integer, or IEEE 
  1612. floating point format.  
  1613.  
  1614.  
  1615. IEEE Float
  1616.  
  1617. Enabling this button causes the bytes of the Raw file being saved to be 
  1618. written as IEEE Floating Point standard where each image pixel value is 
  1619. represented by a 32-bit floating point real number.  If the File Format is 
  1620. FITS the BITPIX value in the FITS header is set to -32 causing the pixels 
  1621. in the FITS file to be written as IEEE floating point numbers.
  1622.  
  1623.  
  1624. 8 Bit Int
  1625.  
  1626. Enabling this button causes the bytes of the Raw file to be written as 
  1627. unsigned short integers where each image pixel value is represented by an 
  1628. eight-bit integer (one byte).  If the File Format is FITS the BITPIX value in 
  1629. the FITS header is set to 8 causing the pixels in the FITS file to be written 
  1630. as unsigned 8-bit integers.
  1631.  
  1632.  
  1633. 16 Bit Int
  1634.  
  1635. Enabling this button causes the bytes of the Raw file to be written as 
  1636. integers where each image pixel value is represented by an unsigned 16-bit 
  1637. integer (two bytes) in Intel standard order (least significant byte followed 
  1638. by most significant byte).  If the File Format is FITS the BITPIX value in 
  1639. the FITS header is set to 16 causing the pixels in the FITS file to be written 
  1640. as 16-bit integers.  The FITS header for BZERO is set to -32768 allowing 
  1641. the full dynamic range of an unsigned 16-bit integer to be stored and 
  1642. interpreted correctly (please see the FITS standard documents for further 
  1643. information).
  1644.  
  1645.  
  1646. 32 Bit Int
  1647.  
  1648. Enabling this button causes the bytes of the Raw file to be written as 
  1649. unsigned long integers where each image pixel value is represented by a 
  1650. 32-bit integer (four bytes) in Intel standard order.  If the File Format is 
  1651. FITS the BITPIX value in the FITS header is set to 32 causing the pixels in 
  1652. the FITS file to be written as signed 32-bit integers.
  1653.  
  1654.  
  1655. Compress File
  1656.  
  1657. Selecting this button causes the file to be saved to be compressed if the file 
  1658. format selected supports image compression.  Hidden Image compresses 
  1659. TIFF files using the TIFF standard LZW process.  FITS files saved as 
  1660. integers are compressed using an efficient proprietary technique.  Note:  
  1661. compressed FITS files do not adhere to the FITS standard and cannot be 
  1662. read into any other software.  Hidden Image can be used to translate the 
  1663. FITS files back to the standard uncompressed format.  The advantage of 
  1664. saving in the compressed mode is that many more images can be saved in 
  1665. the same disk space.  Unless you are exchanging files with other 
  1666. applications, we recommend the use of the FITS compressed mode for 
  1667. storing files since this requires the least disk space (even on compressed 
  1668. disks).  
  1669.  
  1670. Hidden Image does not support the compression of ST-6 format images 
  1671. (although Hidden Image can read compressed ST-6 format files).  
  1672.  
  1673.  
  1674. Preserve Size
  1675.  
  1676. Selecting this button causes the dimensions of the saved image to be 
  1677. automatically adjusted to reflect the original image size of the loaded 
  1678. image.  For images that were padded to the frame size for processing, this 
  1679. causes the padded area to be clipped off.  If the image was loaded as a 
  1680. clipped window, the saved image is padded out to its original size using the 
  1681. Pad Percentile defined in the Load Image Format dialog box.  This function 
  1682. is normally used when the saved image is smaller than the frame size.  
  1683. Load Parameters
  1684.  
  1685. Selecting this menu item enables the Load Parameters dialog box.  
  1686. This dialog box allows the user to specify the name of a parameter file 
  1687. previously saved by Hidden Image.  The parameters loaded replace all 
  1688. parameters entered into all dialog boxes.  Note that the Manual Stretch 
  1689. dialog box always reflects the most recent stretch settings and so cannot be 
  1690. saved.  
  1691.  
  1692. Note that the video card and video mode selection is also saved in the 
  1693. dialog box.  This means that loading parameters can change the video 
  1694. mode.  If the saved video mode is not supported, Hidden Image will 
  1695. abort.  This could happen if you haven't loaded your VESA driver, or if 
  1696. you copy your files to a different computer.  
  1697.  
  1698.  
  1699. Save Parameters
  1700.  
  1701. Selecting this menu item enables the Save Parameters dialog box which is 
  1702. similar to the Load Parameters dialog box described above.  This dialog 
  1703. box allows the user to specify the name of a parameter file in which to save 
  1704. all parameters entered into all dialog boxes.  The parameter file can later be 
  1705. loaded to reproduce the exact same processing results.  This option saves 
  1706. only parameters entered into dialog boxes.  Images are not stored with the 
  1707. parameters.  For example a Point Spread Function (PSF) extracted from an 
  1708. image is not automatically saved with this option.  The PSF must be saved 
  1709. as an image and its file name entered into the appropriate dialog box (see 
  1710. below under MaxEnt - PSF).  Upon exiting Hidden Image a default 
  1711. parameter file called HI.INI is automatically saved.  This file is 
  1712. automatically loaded the next time Hidden Image is executed.
  1713. Parameter files are convenient for remembering the setup used for 
  1714. processing an image.  Note that we do not guarantee compatibility of the 
  1715. parameter files with future versions of Hidden Image.  
  1716.  
  1717.  
  1718. File Path
  1719.  
  1720. Selecting this menu item or a single click on the Path button in a file 
  1721. oriented dialog box enables the File Path dialog box.
  1722. This dialog box permits the user to specify a separate DOS file path to use 
  1723. for the loading images, saving images and for calibration files required by 
  1724. Hidden Image (ie dark, flat and bias frames).  The path must be specified 
  1725. in standard DOS format.  Do not place a trailing "\" after the path (e.g.,use 
  1726. "\ccd\images" instead of "\ccd\images\").  
  1727.  
  1728.  
  1729. About
  1730.  
  1731. The about dialog box provides information about the current version of 
  1732. Hidden Image.  Along with the current version number, the name of the 
  1733. registered licensee is provided.
  1734. Shell To DOS
  1735. The Shell to DOS menu item spawns a DOS shell.  To return to Hidden 
  1736. Image the user must type "exit" and hit the "Enter" key.  Note:  the user 
  1737. should return to the directory Hidden Image was originally executed from 
  1738. prior to typing exit.  This is to ensure that Hidden Image is able to find 
  1739. any temporary files created.  If there is insufficient memory, the 
  1740. Shell-to-DOS command may not function.  
  1741.  
  1742.  
  1743. Quit
  1744.  
  1745. Clicking once on this menu item terminates Hidden Image.  Any changes 
  1746. to unsaved files will be lost.  A keyboard alternative to this command is 
  1747. ALT-X.
  1748.  
  1749.  
  1750. View Menu
  1751.  
  1752. Clicking on the View pop-down menu produces a menu of image viewing 
  1753. related function.
  1754.  
  1755.  
  1756. Set Video Mode
  1757.  
  1758. This menu item enables the Set Video Mode dialog box.
  1759. This dialog box allows the user to select the video card, screen resolution 
  1760. and display appearance of Hidden Image.
  1761.  
  1762.  
  1763. Screen Resolution and Video Card Type
  1764.  
  1765. Hidden Image supports five screen resolution as listed above.  The screen 
  1766. resolution selectable is dependent on the type of video card and the amount 
  1767. of video memory available.  The screen resolution selected in combination 
  1768. with the frame size selected (see below) determines the quality of the image 
  1769. displayed on the screen.  It may seem obvious that the higher the image 
  1770. resolution the better the image quality.  What may not be so obvious is that 
  1771. matching the frame size and image resolution to the maximum number of 
  1772. pixels your camera can produce is essential to extract the most detail from 
  1773. your images.  For example if one is using a PC-Lynxx camera which 
  1774. produces an image of 192x165 pixels, the image will fit nicely into a 
  1775. 256x256 frame (all frames must have dimensions which are powers of 2).  
  1776. If we want to display two frames at full resolution we need 512x256 pixels 
  1777. which will fit well into a screen with 640x400 pixel resolution.  Choosing a 
  1778. higher screen resolution would only shrink the image providing no better 
  1779. image resolution (the pixels get smaller which sometimes gives the 
  1780. appearance of better resolution).
  1781.  
  1782. VGA
  1783.  
  1784. With a standard VGA video card with 256K bytes of memory, Hidden 
  1785. Image supports two screen resolution:  320x200 pixels with 256 colors 
  1786. and 640x480 pixels with 16 colors.  
  1787. The 640x480 resolution is provided for maximum compatibility, especially 
  1788. with the limited video displays of many current laptop computers.  It is not 
  1789. recommended for normal use.  The mouse cursor will move more slowly in 
  1790. this video mode.  Images will often appear "contoured" in areas where the 
  1791. brightness changes slowly.  
  1792.  
  1793. ATI
  1794.  
  1795. With most versions of ATI SVGA video cards, Hidden Image supports all 
  1796. modes up to 800x600 pixels at 256 colors.  The 1024x768 mode which is 
  1797. available on some cards is supported in the VESA mode.  
  1798.  
  1799. VESA
  1800.  
  1801. Hidden Image supports most Super-VGA (SVGA) cards at high 
  1802. resolution by using the VESA standard.  This allows a wide range of video 
  1803. cards to be used with Hidden Image.  
  1804.  
  1805. To use VESA, you may need to run a driver supplied by the video card 
  1806. manufacturer.  In the event that no driver was supplied, you can run the 
  1807. included "UNIVESA" driver before running Hidden Image.  UNIVESA 
  1808. supports a large number of different video cards.  
  1809.  
  1810. For those wanting more information on VESA, an explanation follows:
  1811. The IBM VGA has become a de-facto standard in the PC graphics world.  
  1812. A multitude of different VGA offerings exist in the marketplace, each one 
  1813. providing BIOS or register compatibility with the IBM VGA.  More and 
  1814. more of these VGA compatible products implements various supersets of 
  1815. the VGA standard.  These extensions range from higher resolutions and 
  1816. more colors to improved performance and even some advanced graphics 
  1817. processing capabilities.  Intense competition has dramatically improved the 
  1818. price/performance ratio, to the benefit of the end user.  However, several 
  1819. serious problems face a software developer who intends to take advantage 
  1820. of these "Super VGA" cards: there are no standards.  Almost every card 
  1821. available is unique in how the SVGA functions are made available to the 
  1822. software.  Because of this, it is difficult and expensive to design software to 
  1823. run on every video card available.  Often users discover that their new 
  1824. piece of software doesn't support their particular card.  
  1825. The solution to this is the VESA standard.  VESA defines a set of standard 
  1826. VGA BIOS extensions and standard video modes.  The VESA software 
  1827. assists the application software in initializing and programming the video 
  1828. card.  The card manufacturer normally supplies the VESA software, either 
  1829. built into the video card, or as a driver program (TSR) which the user can 
  1830. load when required.  
  1831.  
  1832. Using VESA, the application software can use the full capabilities of the 
  1833. SVGA card.  However, some video card manufacturers may not supply a 
  1834. VESA driver.  To overcome this problem, the Hidden Image package 
  1835. includes a driver program written by Kendall Bennett from Victoria, 
  1836. Australia called UNIVESA (or Universal VESA TSR).  The Universal 
  1837. VESA TSR will only run on machines that have and 80386 or better CPU 
  1838. (which is required for Hidden Image anyway).  Currently the Universal 
  1839. VESA TSR supports the following SuperVGA chipsets (note that not all of 
  1840. these have been fully tested):
  1841.  
  1842. ATI Technologies 18800, 28800        Video7 V7VGA versions 1-5
  1843. Ahead A & B                Tseng Labs ET3000, ET4000
  1844. Chips & Technologies 82c451/452/453    AcuMos AVGA2
  1845. Everex                    S3 86c911/924/801/806/928
  1846. Genoa Systems GVGA            Advance Logic AL2101 SuperVGA
  1847. OAK Technologies            MXIC 86010 SuperVGA
  1848. Paradise PVGA1A                Primus 2000 SuperVGA
  1849. NCR 77C20/21/22E            RealTek 3106 SuperVGA
  1850. Trident 88/8900    Cirrus             CL-GD 5422 SuperVGA
  1851.  
  1852. More information on the UNIVESA TSR and how to install it can be found 
  1853. in the document file on the distribution disk.
  1854.  
  1855.  
  1856. Display Appearance
  1857.  
  1858. The buttons under the Display Appearance heading control the way the 
  1859. menus and dialog boxes look on the screen.  There are three options:
  1860.  
  1861.  
  1862. Normal
  1863.  
  1864. When this button is selected the display appears in its default mode.  The 
  1865. display has a three dimensional feel much like many other graphical user 
  1866. interfaces.
  1867.  
  1868.  
  1869. Wire Frame
  1870.  
  1871. The Wire Frame button when selected changes the display to a simple wire 
  1872. frame appearance which is useful for some monochrome VGA monitors.
  1873.  
  1874.  
  1875. Night Vision
  1876.  
  1877. The Night Vision button alters the display to one appropriate for use at 
  1878. night where one wishes to keep ones night vision.  Most menu items and 
  1879. dialog boxes become red wire frame and the images are shown in shades of 
  1880. red.  Some features are displayed in deep blue.  It is a little-known fact that 
  1881. blue light is just as safe as red light for night vision use.  The reason blue 
  1882. lights are not normally used for night vision is that the eye has very poor 
  1883. resolution in blue (due to chromatic aberration).  
  1884.  
  1885.  
  1886. View Options
  1887.  
  1888. The View Options menu item enables the View Options dialog box.
  1889. This dialog box allows the user to manually control options which effect 
  1890. the manner in which the image are displayed on the screen as well as the 
  1891. way histograms are calculated.  Note that the Gamma fields are shared with 
  1892. the Manual Stretch dialog box explained later.  
  1893.  
  1894.  
  1895. Frame 1 Gamma
  1896.  
  1897. The Frame 1 Gamma field permits the user to manually enter a gamma 
  1898. correction value to apply to the display of the image in frame one.  The 
  1899. current Gamma value is also displayed.  
  1900.  
  1901.  
  1902. Frame 2 Gamma
  1903.  
  1904. The Frame 2 Gamma field permits the user to manually enter a gamma 
  1905. correction value to apply to the display of the image in frame two.  The 
  1906. current Gamma value is also displayed.  
  1907.  
  1908.  
  1909. Enable Gamma
  1910.  
  1911. The Enable Gamma button controls whether or not gamma correction is 
  1912. applied to the images displayed in any frame.  The on-the-fly calculation of 
  1913. gamma values can be time consuming on slower 386 machines.  When 
  1914. gamma correction is disabled, image display is sped up.  Display is also 
  1915. sped up if the gamma value is set to exactly 1; in this case no gamma 
  1916. processing occurs even though gamma is enabled.  
  1917.  
  1918.  
  1919. Histograms
  1920.  
  1921. The two buttons under this heading control the manner in which 
  1922. histograms are calculated for both frames.  When the Complete button is 
  1923. selected, the histogram is calculated for each pixel in the frame.  When the 
  1924. Fast button is selected, only a small sampling of the pixels in the image are 
  1925. used to calculate the histogram.  The Fast option still provides accurate and 
  1926. useful histograms and greatly speeds up the histogram calculation for 
  1927. slower machines.
  1928.  
  1929.  
  1930. Show Frame 1
  1931.  
  1932. The Show Frame 1 menu item is a color coded toggle which controls the 
  1933. display of Frame 1.  When this menu item is colored green, Frame 1 (only) 
  1934. is being displayed.  When it is red, Frame 1 is hidden or the screen is in two 
  1935. frame mode.
  1936.  
  1937.  
  1938. Show Frame 2
  1939.  
  1940. The Show Frame 2 menu item is a color coded toggle which controls the 
  1941. display of Frame 2.  When this menu item is colored green, Frame 2 (only) 
  1942. is being displayed.  When it is red, Frame 2 is hidden or the screen is in two 
  1943. frame mode.
  1944.  
  1945.  
  1946. Show Both
  1947.  
  1948. The Show Both menu item is a color coded toggle which controls the 
  1949. display of two frame mode.  When this menu item is colored green, Frame 
  1950. 1 and Frame 2 are being displayed simultaneously.  When it is red the 
  1951. screen is in a single frame mode with either Frame 1 or Frame 2 being 
  1952. displayed (see above).
  1953.  
  1954.  
  1955. Photo View
  1956.  
  1957. The Photo View menu item enables the Photo View mode.  In Photo View 
  1958. mode all menu items, histograms and cursors are hidden to allow the user 
  1959. to take an unobstructed photograph of the screen. The image is adjusted 
  1960. for a full screen photo view using a bilinear interpolation. This feature 
  1961. works automatically when Photo View is selected from the View menu list 
  1962. while in one of the SINGLE FRAME modes (i.e. Show Frame 1 or Show 
  1963. Frame 2).  The frame is interpolated up to match the screen pixel  
  1964. resolution and stops when one of the sides (X or Y) matches the 
  1965. corresponding screen resolution. For example, a 512x256 frame in a 
  1966. 640x480 video mode is interpolated up until the 512 goes to 640 and stops.  
  1967. A 512x512 frame in the same video mode would remain unchanged since 
  1968. one side already exceeds the corresponding screen resolution.  If you are 
  1969. ensuring that you pixels are square, the correct aspect ratio is obtained with 
  1970. the 640x480 mode with most monitors.
  1971.  
  1972.  
  1973. Blink Mode
  1974.  
  1975. This mode allows the user to blink the image in Frame 1 with the image in 
  1976. Frame 2 to show differences (perhaps a supernova, a comet or an asteroid 
  1977. in motion).  The blink rate is variable.  The user first enters a starting rate 
  1978. in the Blink Image dialog box.  The number entered should be in tenths of a 
  1979. second and must be 1 or greater and less than equal to 600.  The images 
  1980. are scaled to fill the screen using a bilinear interpolation in the same way as 
  1981. for the Photo View and the blinking starts.  While blinking, the user can 
  1982. vary the rate in increments of 1 by using F1 to decrease and F2 to increase.  
  1983. The rate can be varied in increments of 10 by using Shift-F1 and Shift-F2.
  1984.  
  1985.  
  1986. Low Stretch (F5)
  1987.  
  1988. The Low Stretch menu item enables a preset low stretch mode.  This 
  1989. stretch mode can also be enabled by using the F5 function key.  Using the 
  1990. histogram, the low cursor is set to 95% of the 50th percentile level.  The 
  1991. high cursor is set to 105% of the 99.9th percentile level.  This is useful for 
  1992. deep-sky images.  
  1993.  
  1994.  
  1995. Medium Stretch (F6)
  1996.  
  1997. The Medium Stretch menu item enables a preset medium stretch mode.  
  1998. This stretch mode can also be enabled by using the F6 function key.  Using 
  1999. the histogram, the low cursor is set to 95% of the 33rd percentile level.  
  2000. The high cursor is set to 105% of the 97th percentile level.  This is useful 
  2001. for deep-sky images.  
  2002.  
  2003.  
  2004. High Stretch (F7)
  2005.  
  2006. The High Stretch menu item enables a preset high stretch mode.  This 
  2007. stretch mode can also be enabled by using the F7 function key.  Using the 
  2008. histogram, the low cursor is set to 95% of the 15th percentile level.  The 
  2009. high cursor is set to 105% of the 95th percentile level.  This is useful for 
  2010. low-contrast deep-sky images.  
  2011.  
  2012.  
  2013. Moon Stretch (F8)
  2014.  
  2015. The Moon Stretch set stretch mode which appropriate for lunar images can 
  2016. only be enabled by using the F8 function key. Using the histogram, the low 
  2017. cursor is set to the 0.01th percentile level.  The high cursor is set to 105% 
  2018. of the 99.9th percentile level.  This is useful for images of objects such as 
  2019. close-ups of the moon where there is no dark background.  
  2020.  
  2021.  
  2022. Planet Stretch (F9)
  2023.  
  2024. The Planet Stretch menu item enables a preset stretch mode appropriate for 
  2025. planetary images.  This stretch mode can also be enabled by using the F9 
  2026. function key.  Using the histogram, the low cursor is set to the 25th 
  2027. percentile level.  The high cursor is set to 130% of the 99.9th percentile 
  2028. level.  This is useful for displaying planets where no part of the image 
  2029. should be displayed saturated.  
  2030.  
  2031.  
  2032. Manual Stretch (F10)
  2033.  
  2034. The Manual Stretch menu item places the display in manual stretch mode 
  2035. and enables the Manual Stretch dialog box.  
  2036. This dialog box serves two purposes.  First it allows the user to manually 
  2037. input numerical stretch values and gamma correction factors for each 
  2038. frame.  Second, it indicates numerically the values for Min and Max stretch 
  2039. as well as gamma correction factor as previously set on the histogram 
  2040. scroll bars.  Manual stretch can be engaged without bringing up this dialog 
  2041. box by hitting F10, clicking on the stretch bar, or by using the manual 
  2042. stretch function keys.  
  2043.  
  2044. Note that the Gamma fields are repeated in the View Options menu.  
  2045.  
  2046.  
  2047. Histogram
  2048.  
  2049. The Histogram menu item is a color coded toggle which controls whether 
  2050. or not histograms are visible.  Both frames are controlled by this one 
  2051. toggle.  
  2052.  
  2053.  
  2054. Process Menu
  2055.  
  2056. Clicking once on the Process pop-down menu item produces a menu of 
  2057. image processing functions.  All processing functions with the exception of 
  2058. image calibration and exposure compensation are performed with Frame 1 
  2059. as the source image and Frame 2 as the destination image.  Any image in 
  2060. Frame 2 is overwritten when a processing operation is performed.
  2061.  
  2062.  
  2063. Image Calibration
  2064.  
  2065. Perhaps the most essential first step in the processing of CCD images (after 
  2066. actually making an exposure) is the proper calibration of the image with 
  2067. respect to the CCD used to make the exposure.  Unfortunately this of all 
  2068. image processing functions is probably the least well understood and least 
  2069. appreciated.  Applying the correct image calibration functions can in 
  2070. themselves result in a substantial improvement in the CCD image.  To 
  2071. illustrate how critical image calibration is, it is useful to remember that each 
  2072. 7*C rise in temperature of the CCD chip doubles the thermal noise in the 
  2073. image.  Use of this feature requires small amount of preparation by the user 
  2074. prior to taking actual exposures.
  2075. First let's get the terminology in sync.  For the purposes of this manual the 
  2076. following definitions will be used:
  2077. Bias Frame:  A bias frame is obtained by taking a zero-length exposure 
  2078. with the camera. Due to various electronic idiosyncrasies the output from 
  2079. the camera is not the expected totally black image even though there is no 
  2080. exposure.
  2081.  
  2082. Dark Frame:  During any exposure noise builds up in the CCD chip due to 
  2083. thermal noise effects (even with cooled cameras).  An exposure with the 
  2084. lens cap on (or shutter closed) of some given length (usually the same 
  2085. length as the final exposure will be) is called a dark frame.  This dark frame 
  2086. consists of both the thermal noise and the bias noise from the camera.
  2087.  
  2088. Thermal Frame:  A thermal frame is similar to a dark frame.  Many people 
  2089. often incorrectly use the terms interchangeably.  In fact, a thermal frame is 
  2090. a dark frame that has been corrected for bias noise.  That is to say the bias 
  2091. frame has been subtracted off the dark frame, giving a thermal frame.  This 
  2092. distiction is for a very good reason as discussed below.
  2093.  
  2094. Flat Field Frame:  Each pixel in the CCD array has a slightly different 
  2095. sensitivity to light.  To compensate for this a flat field frame is used.  A flat 
  2096. field frame is an image of a plain, light toned, evenly illuminated target such 
  2097. as a projection screen or white piece of bristol board.
  2098.  
  2099. The Image Calibration menu item  activates the Image Calibration dialog 
  2100. box.
  2101.  
  2102. This dialog box allows the enabling and disabling of the various image 
  2103. calibration functions.
  2104.  
  2105. Before going into detail of the three corrections possible, it is useful to 
  2106. make the distiction between thermally regulated and unregulated CCD 
  2107. cameras.  With respect to thermally cooled CCD cameras, there are 
  2108. basically two distinct varieties: those that have the CCD chip temperature 
  2109. regulated to maintain constant temperature during an observing session 
  2110. (e.g., SBIG ST-6) and those whose CCD chip temperature is unregulated 
  2111. (e.g., ST-4, Lynxx-PC, Electrim).  This distiction affects the way you may 
  2112. choose to perform thermal and bias image calibration.  
  2113.  
  2114.  
  2115. Thermal Calibration for CCD Cameras with No Temperature Regulation
  2116.  
  2117. With unregulated cameras, there is no electronic control of the CCD chip 
  2118. temperature. As an evening's observing progresses and the ambient air 
  2119. temperature changes, the thermal noise level in the CCD images will also 
  2120. change.  In fact the noise level can change in the course of a long exposure 
  2121. (minutes).  The optimal method for accounting for this variation is to take 
  2122. two dark frames, one before and one after the actual exposure, both of the 
  2123. same duration as the actual exposure.  These two dark frames should be 
  2124. saved with names that are accessable by a DOS wild card (e.g, dark.1, 
  2125. dark.2).  Care should be taken in selecting the file name so that only the 
  2126. two frames desired are actually accessable by the wild card.  The Enable 
  2127. Dark box should be checked and the dark frame files specified by the wild 
  2128. card (i.e., dark.*).  No bias frame is required as the bias frame is included 
  2129. in each dark frame.  Hidden Image will average the two dark frames and 
  2130. automatically calibrate the image as it is loaded. This works with the Load 
  2131. Frame 1 and Load Frame 2 menu items, as well as for image co-addition 
  2132. using the Combine menu item.  For combining many short exposures, the 
  2133. dark frames should be taken before the first exposure and after the last 
  2134. exposure.
  2135.  
  2136.  
  2137. Thermal Calibration for Temperature Regulated CCD Cameras 
  2138.  
  2139. Those who have temperature regulated cameras can save a lot of telescope 
  2140. time using Hidden Image.  Temperature regulated camers usually use a 
  2141. negative feedback electronic or computer control to regulate the 
  2142. temperature of the CCD array.  The power supplied to the Peltier coolers is 
  2143. varied according to the temperature actually measured at the CCD chip.  
  2144. This allows for a constant temperature throughout an evening's observing.  
  2145. Provided that the camera is working correctly the temperature of the CCD 
  2146. array should remain constant to within tenths of a degree over many 
  2147. months of observing. Note that extreme ambient temperature variations can 
  2148. affect the accuracy of the regulation.  Given constant temperature, the time 
  2149. consuming process of taking a dark frame before and after each exposure 
  2150. can be made unnecessary.  In this case a set of dark frames should be 
  2151. taken, each of the same exposure length.  They should be saved with names 
  2152. that are accessable by a DOS wild card (e.g., dark.1, dark.2).  The length 
  2153. of the dark frame exposure should be several times longer than any 
  2154. exposure planned to be corrected using this set of dark frames.  In addition 
  2155. to the dark frames, a set of bias frames should be made.  Each frame should 
  2156. be saved with a file name that is accessable by a DOS wild card (e.g., 
  2157. bias.1, bias.2, bias.3,... etc.).  The Enable Dark and Enable Bias boxes 
  2158. should be checked and the dark frame and bias frame files specified by wild 
  2159. cards (i.e., dark.* and bias.*).  Hidden Image makes each dark frame into 
  2160. a thermal frame.  The thermal frames are averaged and can now be used by 
  2161. the exposure compensation feature detailed below.  Images are now 
  2162. automatically calibrated for both bias and thermal noise as they are loaded. 
  2163. This applies to the Load Frame 1 and Load Frame 2 menu items as well as 
  2164. for image co-addition using the Combine menu item.
  2165.  
  2166. In order to use this method, Exposure Compensation must be enabled as 
  2167. detailed below. 
  2168.  
  2169.  
  2170. Flat Field Calibration
  2171.  
  2172. To calibrate images for flat fielding error, a flat field is taken by shooting 
  2173. the twilight sky or much preferably, an image of a large, evenly illuminated 
  2174. projection screen or white card.  Even illumination is essential for a good 
  2175. flat field.  The exposure length should be enough to give an average pixel 
  2176. value of at least half the full dynamic range of the CCD camera system with 
  2177. no pixels saturating.  For example, if you have a 16 bit camera with a 
  2178. maximum pixel value of 65536, each flat field exposure should have an 
  2179. average pixel value of 32768.  Many flat fields should be taken to be 
  2180. averaged.  Each frame should be saved with a file name that is accessable 
  2181. by a DOS wild card (e.g., flat.1, flat.2, flat.3,... etc.).  The Enable Flat box 
  2182. should be checked and the flat field frame wild cards (i.e., flat.*).  Hidden 
  2183. Image will average the flat field frames and automatically calibrate the 
  2184. image as it is loaded.  This applies to the Load Frame 1 and Load Frame 2 
  2185. menu items as well as for image co-addition using the Combine menu item.
  2186. The Image Calibration function is not automatically initialized when you 
  2187. start Hidden Image; you must go to the dialog box, verify the correct files 
  2188. are listed, and click OK.  Progress is indicated by tones after each 
  2189. calibration is done.  
  2190.  
  2191. Note that the Image Calibration setup is cleared if you change the read 
  2192. file format and when you first enter the package.
  2193.  
  2194.  
  2195. Bias Frame File
  2196.  
  2197. The Bias Frame File field allows the user to specify the file or files (via 
  2198. DOS wild card syntax) containing the bias frame to be used for image 
  2199. calibration.  The file(s) must be in the directory specified in the Load File 
  2200. Path dialog box.
  2201.  
  2202.  
  2203. Dark Frame File
  2204.  
  2205. The Dark Frame File field allows the user to specify the file or files (via 
  2206. DOS wild card syntax) containing the dark frame to be used for image 
  2207. calibration.  The file(s) must be in the directory specified in the Load File 
  2208. Path dialog box.
  2209.  
  2210.  
  2211. Flat Field File
  2212.  
  2213. The Flat Field File field allows the user to specify the file or files (via DOS 
  2214. wild card syntax) containing the flat field to be used for image calibration.  
  2215. The file(s) must be in the directory specified in the Load File Path dialog 
  2216. box.
  2217.  
  2218.  
  2219. Enable Bias
  2220.  
  2221. The Enable Bias box when checked enables bias frame calibration.
  2222.  
  2223.  
  2224. Enable Dark
  2225.  
  2226. The Enable Dark box when checked enables dark frame calibration.
  2227.  
  2228.  
  2229. Enable Flat
  2230.  
  2231. The Enable Flat box when checked enables flat field calibration.
  2232.  
  2233.  
  2234. Exposure Comp.
  2235.  
  2236. The Exposure Comp. menu item activates the Exposure Compensation 
  2237. dialog box.
  2238.  
  2239. To properly use this feature requires a CCD camera which is thermally 
  2240. regulated via some form of electronic control (e.g., SBIG ST-6).  If this 
  2241. feature is used with images from an unregulated camera, the results are 
  2242. unpredictable and highly dependant on how constant the CCD chip 
  2243. temperature remains.  The steps detailed above for Image Calibration for 
  2244. temperature regulated cameras must be followed prior to activating 
  2245.  
  2246.  
  2247. Exposure Compensation.
  2248.  
  2249. Exposure Compensation allows users with temperature regulated CCD's to 
  2250. save time at the telescope by using a thermal frame which is much longer 
  2251. (several times longer) than the longest expected exposure.  Since the 
  2252. camera is thermally regulated this same thermal frame can be used over and 
  2253. over for different observing sessions as long as there are no extreme swings 
  2254. in ambient air temperature.  The correct thermal compensation is applied 
  2255. for the exposure time of the image.
  2256.  
  2257.  
  2258. Enable Compensation
  2259.  
  2260. When the Enable Compensation box is activated exposure compensation is 
  2261. automatically applied when images are loaded.
  2262.  
  2263.  
  2264. Thermal Exposure Duration
  2265.  
  2266. The Thermal Exposure Duration field allows the user to specify the 
  2267. average duration of the thermal frames used (i.e., the duration of one 
  2268. thermal frame).  It is important that all the averaged thermal frames have 
  2269. the same exposure duration.  Note: The term "Thermal Frame" is used 
  2270. instead of "Dark Frame".  This is because as each dark frame is read, the 
  2271. bias is subtracted resulting in a thermal frame.  It is essential that thermal 
  2272. frames be used for accurate exposure compensation of the thermal noise.
  2273.  
  2274.  
  2275. Image Exposure Duration
  2276.  
  2277. The Image Exposure Duration field allows the user to specify the duration 
  2278. of the image exposure for the image that will be read in.  This field should 
  2279. be in the same units as the Thermal Exposure Duration field.  It does not 
  2280. matter whether you choose milliseconds, seconds, minutes or hours as long 
  2281. as the units are the same for both.
  2282.  
  2283.  
  2284. Perm. Stretch
  2285.  
  2286. The Perm. Stretch menu item activates the Permanent Stretch dialog box.
  2287. Any stretching or gamma correction performed on the images in Frame 1 
  2288. or Frame 2 using the histogram bar or dialog boxes affect only the image as 
  2289. it is displayed on the screen.  To make a stretch permanent so that it can be 
  2290. saved with the file requires the use of the permanent stretch dialog box.  
  2291. Permanent stretch stretches the image in Frame 1 and places the result in 
  2292. Frame 2.  This dialog box has two options:
  2293.  
  2294.  
  2295. Gray Levels
  2296.  
  2297. The buttons under this heading control the number of gray levels to be used 
  2298. in the final stretched image.  The number of gray levels is directly related to 
  2299. the number of bits used to store each image pixel.  For an 8-bit image for 
  2300. example, the maximum number of gray levels is 256 (this is the typical 
  2301. setting for a TIFF file).  Hidden Image supports intensity scaling of 
  2302. images to 8, 12 or 16 bits.  The manner in which the image is scaled in 
  2303. intensity is controlled by the next set of buttons.
  2304.  
  2305.  
  2306. Stretch Mode
  2307.  
  2308. The Stretch Mode buttons control the manner in which the image is 
  2309. intensity scaled and stretched to fit within the number of gray scales 
  2310. assigned.
  2311.  
  2312.  
  2313. From Screen
  2314.  
  2315. The From Screen button uses the current stretching and gamma settings for 
  2316. Frame 1 and applies a direct mapping to the number of gray levels in order 
  2317. to make the resulting permanently stretched image visually appear to be the 
  2318. same as the stretched image in Frame 1.  This is the most commonly used 
  2319. mode.  
  2320.  
  2321.  
  2322. Max Pixel
  2323.  
  2324. The Max Pixel button adjusts the intensity scaling by mapping the 
  2325. maximum pixel value of the image in Frame 1 to the maximum pixel level 
  2326. as defined by the Gray Levels button.  Zero is left as zero.  No stretch or 
  2327. gamma is applied.  
  2328.  
  2329.  
  2330. Clip To Range
  2331.  
  2332. The Clip To Range button performs no mapping of the intensity values.  
  2333. The resulting permanently stretched image is the image in Frame 1 with the 
  2334. pixel values clipped to the maximum value as defined by the Gray Levels 
  2335. button.  No stretch or gamma is applied.  
  2336.  
  2337.  
  2338. Linear Filters
  2339.  
  2340. The Linear Filters menu item opens the Linear Filters dialog box.
  2341. This dialog box provides the parameter values for the linear frequency 
  2342. domain filtering performed by Hidden Image.  There are two types of 
  2343. filters:  low pass and high pass each of which removes a certain type of 
  2344. information contained in an image.  High frequency information is 
  2345. information representative of fast intensity transitions, sharp detail or spiky 
  2346. noise.  Low frequency information is representative of smooth features and 
  2347. slow intensity transitions.  The low pass filter actually filters out high 
  2348. frequency information and "passes" low frequency information.  It can be 
  2349. thought of as a blurring or smoothing filter.  The high pass filter, on the 
  2350. other hand, filters out low frequency information and passes high frequency 
  2351. information.  The "sharpen" filters offered in some image processing 
  2352. packages are in fact types of high pass filters.
  2353.  
  2354. In Hidden Image, both low pass and high pass filtering can be performed 
  2355. simultaneously resulting in a "band pass" or "band stop" filter  (depending 
  2356. on radius selection) where a band of information between the low and high 
  2357. information cutoff areas is either passed or blocked.  The severity of the 
  2358. filter (i.e.,how blurry the low pass or how sharp the high pass) is controlled 
  2359. by the Radius field.
  2360.  
  2361.  
  2362. Radius
  2363.  
  2364. Radius controls the severity of the filtering operation.  
  2365. For high-pass filters, the least severe filtering occurs when the number is 
  2366. small; the most severe filtering occurs when the number is 1/2 the frame 
  2367. size (e.g.,128 in 256x256 frame mode).  
  2368.  
  2369. For low-pass filters, the least severe filtering occurs when the number is 1/2 
  2370. the frame size; the most severe filtering occurs when the number is small.  
  2371. This is the opposite of high-pass filtering.  
  2372.  
  2373. All filtering in Hidden Image is performed in what is mathematically called 
  2374. "the spatial frequency domain".  The original image is passed through a set 
  2375. of mathematical operations (called an Fast Fourier Transform) and is 
  2376. transformed to have a new representation.  In the new representation the 
  2377. details of the image are ordered in a circle based on their sharpness or 
  2378. blurriness.  The blurriest (low frequency) features are concentrated towards 
  2379. the center of the circle and the sharpest (high frequency) features are 
  2380. progressively concentrated towards the outside of the circle.  The 
  2381. outermost region of the circle has the same diameter as the frame size 
  2382. selected (or a radius of half the frame size selected).  The Radius field for 
  2383. the low pass filter specifies the portion of the original frame size circle to 
  2384. keep in the filtered image.  The larger the low pass radius, less high 
  2385. frequency information is removed, and the less severe the filter.  For high 
  2386. pass filtering, the Radius filed specifies the portion of the original frame 
  2387. size circle to eliminate from the filtered image.  The larger the high pass 
  2388. radius, the more low frequency information is removed and the more 
  2389. severe the filter.
  2390.  
  2391.  
  2392. Order
  2393.  
  2394. The filters in Hidden Image define a smooth transition between the 
  2395. frequencies removed and the frequencies passed.  The Order field specifies 
  2396. how fast the transition is.  This field should usually be kept at 1 but the 
  2397. filter can be made more aggressive by changing the order to higher values.  
  2398. If a softer filter is desired than that provided by an order of 1, try adding a 
  2399. percentage of the original image to a filtered version of the image.  This 
  2400. can be done with the sum/offset box. 
  2401.  
  2402.  
  2403. Nonlinear Filters
  2404.  
  2405. The Nonlinear Filters menu item enables the Nonlinear Filters dialog box.
  2406. This dialog box provides the user with a set of functions which are all 
  2407. nonlinear type filters.  The nonlinear filters are "kernel" based.  Pixels are 
  2408. compared to their neighbours and a decision is made on how to modify the 
  2409. pixels on the basis of this comparison.  The size of the kernel used is 
  2410. determined by the Size of Kernel buttons.  The larger the kernel size, the 
  2411. more severe the filtering and the longer the filtering takes.  Note:  Dead 
  2412. Pixel and Cosmic Ray filters always operate at the 3 x 3 kernel size 
  2413. regardless of the dialog box setting.  
  2414. Six types of filters are defined:  
  2415.  
  2416.  
  2417. Dead Pixel
  2418.  
  2419. The Dead Pixel button selects the dead pixel removal filter.  This filter is 
  2420. designed to eliminate the effects of any dead pixels in the CCD array.  
  2421. Dead pixels manifest themselves as "black holes" in an image.  The Dead 
  2422. Pixel Threshold field controls the severity of the dead pixel removal.  If 
  2423. pixels which are not dead are removed this value should be decreased.  
  2424. Alternatively, to remove more marginal pixels (perhaps pixels obscured by 
  2425. dust which were not removed by flat fielding) this value can be increased.  
  2426. Dust spots may require successive applications of this filter to remove them 
  2427. completely.  
  2428.  
  2429.  
  2430. Cosmic Ray
  2431.  
  2432. The Cosmic Ray button selects the cosmic ray removal filter.  This filter is 
  2433. designed to eliminate the effects of cosmic rays striking the CCD array 
  2434. during an exposure.  Cosmic rays usually manifest themselves as intense 
  2435. single pixel bright spots or false stars in an image.  The Cosmic Ray 
  2436. Threshold field controls the severity of the cosmic ray removal.  If pixels 
  2437. which are not cosmic rays are removed this value should be decreased.  
  2438. Alternatively, to remove questionable pixels which may be cosmic rays this 
  2439. value can be increased.  
  2440. This filter can also be used to remove hot pixels (at the same time).  
  2441.  
  2442.  
  2443. Mean
  2444.  
  2445. The Mean filter button enables a filter which replaces the center pixel in the 
  2446. kernel with the average value of all the pixels in the kernel.  The resulting 
  2447. filter has a blurring effect on the image.  This is actually a linear filter 
  2448. operation but it is grouped with the nonlinear filters because it is kernel-
  2449. based.  
  2450.  
  2451. This is an alternative to the more sophisticated linear low-pass filter 
  2452. function.  It has advantages when there are very bright stars in the image 
  2453. since it will not generate "ringing" around bright stars.  
  2454.  
  2455.  
  2456. Median
  2457.  
  2458. The Median filter button enables a filter which replaces the center pixel in 
  2459. the kernel with the median value of all the pixels in the kernel.  The 
  2460. resulting filter removes any spiky noise in the image and has an overall 
  2461. slight blurring effect.
  2462.  
  2463.  
  2464. Dilation (Max)
  2465.  
  2466. The Dilation filter button enables a filter which replaces the center pixel in 
  2467. the kernel with the maximum value of all the pixels in the kernel.  The 
  2468. resulting image has the lighter regions of the image emphasized.
  2469.  
  2470.  
  2471. Erosion (Min)
  2472.  
  2473. The Erosion filter button enables a filter which replaces the center pixel in 
  2474. the kernel with the minimum value of all the pixels in the kernel.  The 
  2475. resulting image has the darker regions of the image emphasized.
  2476.  
  2477.  
  2478. Unsharp Mask
  2479.  
  2480. The Unsharp Mask menu item enables the unsharp mask dialog box.
  2481. This dialog box enables the user to enter appropriate parameters and 
  2482. perform an unsharp mask operation on the image in Frame 1.  Unsharp 
  2483. masking takes a low pass filtered version of the image in Frames 1 and 
  2484. subtract a portion of it from the original image.  This operation has proved 
  2485. useful especially on planetary images.  The operation is controlled by three 
  2486. parameters:
  2487.  
  2488.  
  2489. Weight
  2490.  
  2491. The Weight field controls the severity of the unsharp mask.  The unsharp 
  2492. mask performed by Hidden Image is designed so that there is no overall 
  2493. intensity drop in the resulting image.  This field controls the amount of 
  2494. emphasis to put on the low frequency components being subtracted.  
  2495. The range of values is between 1 and 49 and represents a percentage 
  2496. content in the resulting image.  The overall brightness of the image is 
  2497. automatically adjusted so that it remains constant before and after 
  2498. processing.  
  2499.  
  2500.  
  2501. Radius
  2502.  
  2503. This field controls the radius of the low pass filter used.  It operates the 
  2504. same as the Radius field described under Linear Filters - Low Pass.  The 
  2505. smaller the radius the more severe the filtering of the mask.  
  2506.  
  2507.  
  2508. Order
  2509.  
  2510. This field controls the order of the low pass filter used (usually set to 1).  It 
  2511. operates the same as the Order field described under Linear Filters - Low 
  2512. Pass.
  2513.  
  2514.  
  2515. Hist. Equalization
  2516.  
  2517. The Hist. Equalization menu item enables the Histogram Equalization 
  2518. dialog box.
  2519.  
  2520. Histogram equalization is a very useful technique that reassigns pixel 
  2521. intensities to make better use of the video display.  Astronomical objects 
  2522. often have a very large dynamic range, making it impossible to display all 
  2523. parts of an object with good contrast.  Histogram equalization reduces the 
  2524. differences between bright and dark areas without reducing the contrast of 
  2525. either.  This is a highly non-linear processing function; images can be made 
  2526. "unreal-looking".  However it is a particularly effective technique to use on 
  2527. galaxy images.  Galaxies usually have very bright cores and much fainter 
  2528. spiral arms; histogram equalization makes it possible to view both parts of 
  2529. the galaxy simultaneously.  
  2530.  
  2531.  
  2532. This dialog box allow the user to provide the parameters and perform one 
  2533. of five types of histogram equalization on the image in Frame 1.  Normally 
  2534. the Auto Scale function is used and the Min and Max fields are ignored.  
  2535. Auto Scale preserves the minimum and maximum values in the original 
  2536. image.  If Auto Scale is not used, the Min and Max fields define the 
  2537. boundary values that the resulting equalized image will contain.  
  2538. There are several types of histogram equalization; each generates a 
  2539. particular shape of histogram.  Experiment to find the best type for your 
  2540. image.  The five types of histogram equalization available are as follows:
  2541.  
  2542.  
  2543. Uniform
  2544.  
  2545. Uniform is useful for high contrast images where fine detail of nebulosity is 
  2546. desired without saturating bright stellar detail.  
  2547.  
  2548.  
  2549. Exponential
  2550.  
  2551. Exponential is useful for deep space objects such as spiral galaxies which 
  2552. have detailed cores as well as dimmer fine detail in spiral arms.
  2553.  
  2554.  
  2555. Hyperbolic (Log)
  2556.  
  2557. Hyperbolic log has been found to be useful on full frame planetary images.
  2558.  
  2559.  
  2560. Hyperbolic (Cube Root)
  2561.  
  2562. Hyperbolic cube root has been found to be useful on full frame planetary 
  2563. images (similar to above with a slightly different effect).
  2564.  
  2565.  
  2566. Rayleigh
  2567.  
  2568. Rayleigh has been found to be useful on deep sky objects.  Similar in effect 
  2569. to the Exponential but less severe.  A good choice for galaxies.  
  2570.  
  2571.  
  2572. Sum/Offset
  2573.  
  2574. The Sum/Offset menu item enables the Sum Images With Offset dialog 
  2575. box.
  2576.  
  2577. This dialog box provides the user with the ability to sum percentages of 
  2578. each image frame and/or add a constant value to the resulting image.  
  2579. There are three user definable fields:
  2580.  
  2581.  
  2582. Add Frame 1 %
  2583.  
  2584. This field defines the percentage of Frame 1 added into (subtracted from) 
  2585. the resulting image.  The value may be zero or negative and may exceed 
  2586. 100%.  
  2587.  
  2588.  
  2589. Add Frame 2 %
  2590.  
  2591. This field defines the percentage of Frame 2 added into (subtracted from) 
  2592. the resulting image.  The value may be zero or negative and may exceed 
  2593. 100%.  
  2594.  
  2595.  
  2596. Add Constant
  2597.  
  2598. This field defines the constant value to add to (subtracted from) the final 
  2599. resulting image.  
  2600.  
  2601. If a constant is subtracted (negative value entered), Hidden Image will not 
  2602. allow the resulting pixel values to go negative.  Negative pixels will be set 
  2603. to zero.  This allows you to clip an image at any desired level.  
  2604.  
  2605.  
  2606. Combine Files
  2607.  
  2608. The Combine Files menu items enables the combine files dialog box.
  2609. This dialog box provides the user the ability to combine multiple image 
  2610. exposures contained in separate files into a single image with the ability to 
  2611. shift images for correct registration.  The user gets a box which is centered 
  2612. on a star on each of the successively loaded images.  The images are shifted 
  2613. and added together.  The files must be selectable using a DOS-style wild 
  2614. card.  The first image (the first one found in the DOS directory) determines 
  2615. the overall centering.  When selecting the registration star, the right mouse 
  2616. button controls the size of box, the left mouse button selects the star.  In 
  2617. the case of an image which is not wanted (maybe it was badly trailed), 
  2618. clicking off the image (anywhere out of Frame 1) will cancel that image.  
  2619. The average of all the registered images appears in Frame 2.   Since the 
  2620. frames are averaged it is important that all the exposures be of equal 
  2621. length. 
  2622.  
  2623.  
  2624. File Name Search
  2625.  
  2626. The File Name Search field is used to select files for adding by wild card 
  2627. selection (e.g., jup*.ccd).  
  2628.  
  2629.  
  2630. Auto Center
  2631.  
  2632. The Auto Center button calculates the centroid of the star in the box to one 
  2633. tenth of a pixel accuracy and uses that when calculating the image shift.  
  2634. When off, the cursor position is used directly.  This should normally be left 
  2635. on unless you are centering on something other than a star.  
  2636.  
  2637.  
  2638. Copy 1*2,
  2639.  
  2640. The Copy 1*2 menu item copies the image in Frame 1 into Frame 2.
  2641.  
  2642.  
  2643. Copy 2*1
  2644.  
  2645. The Copy 2*1 menu item copies the image in Frame 2 into Frame 1.  This 
  2646. is frequently done when you want to perform another processing step on an 
  2647. image.  
  2648.  
  2649.  
  2650. MaxEnt Menu
  2651.  
  2652. The MaxEnt pop-down menu item provides a menu of Maximum Entropy 
  2653. Deconvolution related parameters as well as the command to start a 
  2654. deconvolution run.  
  2655.  
  2656.  
  2657. Basic Setup
  2658.  
  2659. The Basic Setup menu item enables the MaxEnt Basic Setup dialog box.
  2660. This dialog box allows the user to enter two basic setup parameters 
  2661. necessary for a Maximum Entropy Deconvolution run.  
  2662.  
  2663.  
  2664. Iterations
  2665.  
  2666. The first field, Iterations, is the number of unattended iteration of 
  2667. Maximum Entropy Deconvolution that Hidden Image is to perform.  This 
  2668. is only the initial setting; more iterations can be requested when processing 
  2669. stops.  In addition, processing can be stopped at any point by hitting a key 
  2670. (the current iteration is completed before control is returned to the user).  
  2671. When processing is stopped the Processing Stopped dialog box appears 
  2672. where additional iterations can be requested (see below).
  2673.  
  2674.  
  2675. Photons Per A/D Unit
  2676.  
  2677. A CCD camera is essentially a photon counting device.  The image that is 
  2678. stored numerically provides a representation of the number of photons that 
  2679. hit the CCD chip and where they hit (which forms an image).  The actual 
  2680. numerical values saved as an image for most cameras are not the actual 
  2681. number of photons but a number, called an analog to digital unit (A/D Unit 
  2682. or ADU) which represents the number of photons.  For example, for the 
  2683. SBIG ST-6 camera the number of  photons required to increase the count 
  2684. by 1 ADU is 6.67 photons.  The value for the SpectraSource PC-Lynxx 
  2685. camera is 36.6.  
  2686.  
  2687. The photons per ADU are available from camera manufacturers.  
  2688. Sometimes the number is not explicitly given but it can be calculated from:
  2689. full well capacity / highest pixel value used
  2690.  
  2691. The photons per ADU should be entered in the Photons Per A/D Unit field.
  2692. Note that this value is in terms of photons actually detected by the CCD 
  2693. (i.e.,photoelectrons) and therefore numbers such as quantum efficiency do 
  2694. not need to be factored in.  
  2695.  
  2696. Hidden Image includes a feature to calculate the photons per ADU 
  2697. automatically form a series of flat fields.  This procedure is explained below 
  2698. for the Photons menu item under the Utility menu.
  2699.  
  2700.  
  2701. Noise
  2702.  
  2703. The Noise menu item enables the Noise Estimate dialog box.
  2704. This dialog box has the tools which allow the user to provide Hidden 
  2705. Image with an estimate of the noise in an image.  Additional information 
  2706. on noise estimation is provided in the "Tips" section of the manual.
  2707.  
  2708.  
  2709. Distribution
  2710.  
  2711. The Distribution buttons allow the user to select between two noise 
  2712. distributions commonly found in astronomical images.  The most 
  2713. commonly used is Poisson.  Uniform is most effective on planetary images.
  2714.  
  2715.  
  2716. Uniform Noise Level
  2717.  
  2718. If the Uniform Noise button is selected, the noise level to use should be 
  2719. specified in this field.  This is normally set to the standard deviation of the 
  2720. noise background.  Normally this is set automatically using the "Extract 
  2721. From Image" option.  If Uniform Noise is not selected this field has no 
  2722. effect.  
  2723.  
  2724.  
  2725. Black Level Offset
  2726.  
  2727. If the user at some point of previous processing subtracted off a constant 
  2728. from the image, the amount subtracted should be specified in this field.  
  2729. This value is normally zero.  Dark frame frame subtraction does not affect 
  2730. this value.  
  2731.  
  2732.  
  2733. Background
  2734.  
  2735. Hidden Image needs to know the average sky background level in the 
  2736. image.  This value should be specified in the Background field.  Normally 
  2737. the Extract From Image feature is used to set this automatically.  
  2738.  
  2739.  
  2740. Extract From Image
  2741.  
  2742. To assist the user in determining the average background a tool is provided 
  2743. and is activated by the enabling the Extract From Image button.  This tool 
  2744. is also used to set the uniform noise level if uniform noise is selected. 
  2745. If this button is enabled, after hitting the OK control button, a cursor box 
  2746. will appear on the screen.  The right mouse button controls the size of the 
  2747. box.  The box should be positioned over a section of the image containing 
  2748. sky background.  The left mouse button when clicked once records the 
  2749. statistics for that section of sky.  
  2750.  
  2751. This procedure should be repeated for as many patches of background as 
  2752. practical (usually three is sufficient; one will do in a pinch).  Be sure to 
  2753. adjust the stretch of the image so that areas of faint nebulosity can be seen 
  2754. and avoided.  
  2755.  
  2756. Once finished, the user must move the box to the pop-down menu bar and 
  2757. click once.  The correct background is automatically calculated and entered 
  2758. into the Noise Estimate dialog box (equal to the average background minus 
  2759. two standard deviations).  While selecting areas of sky, a Statistics 
  2760. Information Box appears on the right side of the image (see below under 
  2761. Utility - Box for further explanation).  
  2762.  
  2763.  
  2764. Select PSF
  2765.  
  2766. The Select PSF menu items enables the Point-Spread Function dialog box.
  2767. This dialog box allows the user to specify the Point Spread Function (PSF) 
  2768. Hidden Image is to use for the deconvolution process.  The PSF tells 
  2769. Hidden Image how the image was blurred.  A single star image shows 
  2770. exactly how the light was spread about; therefore it represents a point-
  2771. spread function.  If a suitable star is not available in the image, "analytical" 
  2772. PSFs can be used.  
  2773.  
  2774. Additional information on PSFs is provided in the "Tips" section of the 
  2775. manual.  
  2776.  
  2777.  
  2778. Function Type
  2779.  
  2780. The Function Type buttons permit the specification of the type of PSF to 
  2781. use for deconvolution.
  2782.  
  2783.  
  2784. Gaussian
  2785.  
  2786. This button selects an analytical PSF with a Gaussian distribution with 
  2787. standard deviation as specified in the Standard Deviation field.  This PSF 
  2788. should be used when a star cannot be extracted for use as the PSF, and the 
  2789. distortion in an image is dominated by atmospheric seeing effects.
  2790.  
  2791.  
  2792. Exponential
  2793.  
  2794. This button selects an analytical PSF with an Exponential distribution with 
  2795. standard deviation as specified in the Standard Deviation field.  This PSF 
  2796. should be used in cases where no star is visible in the image frame and the 
  2797. distortion in an image is dominated by instrumental effects.
  2798.  
  2799.  
  2800. Fit Gaussian
  2801.  
  2802. This button is similar to the Gaussian button, but allows the standard 
  2803. deviation to be selected by "fitting" the Gaussian function to an imperfect 
  2804. PSF candidate in the image (an imperfect PSF candidate can be a faint star, 
  2805. an object which is not a point source such as a moon, the edge of a planet 
  2806. or a star embedded in nebulosity).  When the OK control button is hit, a 
  2807. box cursor appears.  A star or other imperfect PSF candidate can be 
  2808. selected by adjusting the size of the box with the right button and clicking 
  2809. the left button when the object is centered in the box.  A horizontal slice 
  2810. profile through the brightest part of the object appears at the bottom of the 
  2811. screen.  A prototype Gaussian curve also appears superimposed on the 
  2812. slice.  Two vertical bars represent the position of the standard deviation 
  2813. and may be moved with the cursor and left button.  When the two shapes 
  2814. appear similar, click on the top menu bar.  When fitting to an object that is 
  2815. not a point-source, such as a moon of Jupiter, make the fitted curve smaller 
  2816. than the slice profile.  
  2817.  
  2818.  
  2819. Fit Exponential
  2820.  
  2821. This button is similar to the Exponential button, but allows the standard 
  2822. deviation to be selected by "fitting" the Exponential function to an 
  2823. imperfect PSF candidate in the image (an imperfect PSF candidate can be a 
  2824. faint star, an object which is not a point source such as a moon, the edge of 
  2825. a planet or a star embedded in nebulosity).  When the OK control button is 
  2826. hit, a box cursor appears.  A star or other imperfect PSF candidate can be 
  2827. selected by adjusting the size of the box with the right button and clicking 
  2828. the left button when the object is centered in the box.  A horizontal slice 
  2829. profile through the brightest part of the object appears at the bottom of the 
  2830. screen.  A prototype curve also appears superimposed on the slice.  Two 
  2831. vertical bars represent the position of the Standard Deviation which may be 
  2832. moved with the cursor and left button.  When the two shapes appear 
  2833. similar, click on the top menu bar.
  2834.  
  2835.  
  2836. From Image
  2837.  
  2838. This is the preferred method of determining the PSF; it is also the easiest.  
  2839. The user can extract a star (or other point source) directly from the image 
  2840. being processed.  
  2841.  
  2842. When the OK control button is hit, a box cursor appears.  The star or other 
  2843. point source PSF candidate can be selected by adjusting the size of the box 
  2844. with the right button and clicking the left button when the object is 
  2845. centered in the box.  The selected PSF overwrites the image in Frame 2 
  2846. and is available for inspection.  The selected PSF is also saved in an internal 
  2847. buffer, so Frame 2 can be changed without affecting the PSF.  
  2848.  
  2849.  
  2850. From File
  2851.  
  2852. When selected, this button allows the user to specify a PSF by providing 
  2853. the name of a file containing the PSF in the File Name field.  The PSF file 
  2854. must be the same size as the currently selected frame.  
  2855.  
  2856.  
  2857. Standard Deviation
  2858.  
  2859. This field allows the user to specify the Standard Deviation of the Gaussian 
  2860. or Exponential PSF in pixels.  This field is overwritten if either of the Fit 
  2861. Gaussian or Fit Exponential buttons are selected.
  2862.  
  2863.  
  2864. File Name
  2865.  
  2866. This field specifies the name of the PSF file if the From File button is 
  2867. selected.
  2868.  
  2869.  
  2870. Pixel Aspect Ratio
  2871.  
  2872. For the four possible analytical PSFs the pixel aspect ratio for the camera 
  2873. used must be specified using the buttons under this heading.  If the camera 
  2874. used is not listed the Custom button should be selected with the 
  2875. appropriate value placed in the Custom Ratio W/H field.  If the pixel ratio 
  2876. is unknown the 1:1 button (defining a square pixel) can be used as an 
  2877. approximation.  
  2878.  
  2879.  
  2880. Custom Ratio W/H
  2881.  
  2882. This field specifies the custom pixel ratio if the Custom button is selected.  
  2883. The pixel ratio provided should be the pixel width divided by the pixel 
  2884. height (i.e.,W/H).
  2885.  
  2886. The custom mode is also useful if the image is trailed due to poor guiding 
  2887. and an "analytical" PSF is used (Gaussian, Exponential, Fit Gaussian, or Fit 
  2888. Exponential).  If the camera is accurately aligned so that the stars trail 
  2889. parallel to the CCD array, the pixel shape can be deliberately warped to 
  2890. account for the guiding error.  
  2891.  
  2892.  
  2893. Go
  2894.  
  2895. This menu button begins Maximum Entropy Deconvolution iterations.  Be 
  2896. sure the image in Frame 1 is displayed the way you like it.  The image in 
  2897. Frame 2 will be displayed the same way, and it is impossible to adjust the 
  2898. stretch during processing (the computer is busy!).  
  2899. Processing Stopped Dialog Box
  2900. At the end of the specified number of iterations, or if the user hits a key 
  2901. during iterations, the Processing Stopped dialog box appears.  This dialog 
  2902. box allows the user to continue iterating, stop iterating, inspect the 
  2903. developing image, and save the developing image.  The developing image 
  2904. in Frame 2 can be stretched or gamma corrected using the histogram scroll 
  2905. bar or function keys.  The image in Frame 1 cannot be altered or stretched 
  2906. during this procedure.
  2907.  
  2908.  
  2909. Iterations
  2910.  
  2911. This field specifies the number of additional iteration to perform if the OK 
  2912. button is selected.
  2913.  
  2914.  
  2915. Hide
  2916.  
  2917. This button allows the user to inspect the developing image.  It operates in 
  2918. the same way as the Photo View item under the View pop-down menu.
  2919.  
  2920.  
  2921. Save
  2922.  
  2923. This button allows the user to save the image in Frame 2.  A dialog box 
  2924. similar to the "Save Frame 2" box appears.  After the image is saved 
  2925. control is returned to the Processing Stopped dialog box.  If you 
  2926. accidentally hit Save and wish to continue processing, hit the "Skip" 
  2927. button.  Clicking "Cancel" will stop the processing run.  
  2928.  
  2929.  
  2930. Stop
  2931.  
  2932. This button stops the Maximum Entropy Deconvolution run.  Once the run 
  2933. is stopped, it cannot be continued without starting from scratch.  
  2934.  
  2935.  
  2936. OK
  2937.  
  2938. This button resumes the Maximum Entropy Deconvolution run for the 
  2939. number of iterations specified in the Iterations field.
  2940.  
  2941.  
  2942. Utility Menu
  2943.  
  2944. The Utility pop-down menu item provides two tools to help the user to 
  2945. analyze images.  The first tool is oriented around single pixels.  The second 
  2946. tool is oriented around a group of pixels within a defined box.
  2947.  
  2948.  
  2949. Pixel
  2950.  
  2951. The Pixel menu item turns on a pixel analysis tool.  This tool is a crosshair 
  2952. cursor which can be positioned over any pixel in either frame.  When the 
  2953. left mouse button is clicked, an information box appears on the side 
  2954. opposite to the Frame clicked in.  This box provides the X and Y location 
  2955. of the pixel relative to the bottom left corner of the frame as well as 
  2956. intensity.  This tool is turned off by clicking once with the cursor 
  2957. positioned on the top pop-down menu bar.
  2958.  
  2959.  
  2960. Box
  2961.  
  2962. The Box menu item turns on an area analysis tool.  This tool is a resizable 
  2963. box cursor which can be positioned over any group of pixels in either 
  2964. frame.  The right and middle mouse buttons can be used to change the size 
  2965. of the box.  When the left mouse button is clicked, an information box 
  2966. appears on the side opposite to the Frame clicked in. 
  2967.  
  2968.  
  2969. This box provides the location (X, Y) of the center of the current box 
  2970. position, the minimum (Min) and maximum (Max) intensity values in the 
  2971. box, the average (Avg) pixel intensity value, the standard deviation (Dev) 
  2972. of the pixel intensity values in the box and the centroid location (CeX, 
  2973. CeY) of the box.  The X coordinate is horizontal and the Y coordinate is 
  2974. vertical.  The bottom left pixel is at the 1,1 coordinate.  
  2975. The calculations are performed on the data inside the box; the area under 
  2976. the border is not included.  Note that the centroid is only accurate if there 
  2977. is a single star in the box.  
  2978.  
  2979. This tool is turned off by clicking once with the cursor positioned on the 
  2980. top pop-down menu bar.
  2981.  
  2982.  
  2983. Copy Star
  2984.  
  2985. This "donut" removal function cosmetically eliminates the ringing which 
  2986. appears around stars embedded in nebulocity or dust after Maximum 
  2987. Entropy Deconvolution. The new function is under the Utility menu item 
  2988. and is called Copy Star.  When selected after performing Maximum 
  2989. Entropy Deconvolution, a box similar to the select PSF box appears.  This 
  2990. can be sized to fit using the right mouse button. The box should be placed 
  2991. over a star which has a donut and should be sized to fully encompass the 
  2992. star and any ringing (bright and dark). When the left mouse btton is 
  2993. clicked, the original star and information around is copied into the new 
  2994. image, eliminating the ringing while preserving all the fine detail in the dust 
  2995. lanes and nebulocity which was brought out by Maximum Entropy 
  2996. Deconvolution.  The BACKSPACE key acts as an UNDO if you do not 
  2997. like the result. 
  2998.  
  2999.  
  3000. Photons
  3001.  
  3002. It was discovered that the Photons Per Analogue to Digital Unit reported 
  3003. by some camera manufacturers is inaccurate.  The correct value actually 
  3004. varies from individual camera to camera (even of the same make and 
  3005. model). To overcome this Hidden Image has a method to calculate the 
  3006. photons per ADU from a series of flat fielded images.  The method 
  3007. described below must be closely followed to get an accurate count. 
  3008. To do this you must take a large number of flat fields with no filters, the 
  3009. more the better but a minimum of 5.  You must then take a large number of 
  3010. bias frames (minimal exposure dark frames). Load one of the flats into 
  3011. frame 1 making sure that all image calibrations are performed as described 
  3012. above in the section on Image Calibration.  Select Photons from the Utiltiy 
  3013. menu item.  The photons per ADU are automatically calculated and 
  3014. inserted into the correct dialogue box.
  3015.  
  3016.  
  3017. APPENDIX 4 KEYBOARD/MOUSE QUICK REFERENCE
  3018.  
  3019. The following special keys are defined:
  3020. F1        Move frame 1 low stretch cursor down
  3021. F2        Move frame 1 low stretch cursor up
  3022. F3        Move frame 1 high stretch cursor down
  3023. F4        Move frame 1 high stretch cursor up
  3024. shift F1    Move frame 2 low stretch cursor down
  3025. shift F2    Move frame 2 low stretch cursor up
  3026. shift F3    Move frame 2 high stretch cursor down
  3027. shift F4    Move frame 2 high stretch cursor up
  3028. ctrl F1        Set stretch adjust rate very low
  3029. ctrl F2        Set stretch adjust rate low
  3030. ctrl F3        Set stretch adjust rate medium
  3031. ctrl F4        Set stretch adjust rate high
  3032. F5        Set low stretch
  3033. F6        Set medium stretch
  3034. F7        Set high stretch
  3035. F8        Set planet stretch
  3036. F9        Set moon stretch
  3037. F10        Set manual stretch
  3038. F11        Toggle histograms on/off
  3039. <ESC>        Stop MaxEnt processing, abort dialog box (same as clicking 
  3040.         Cancel)
  3041. <RET>        Accept dialog (same as clicking OK)
  3042. SPACEBAR    Use instead of left mouse button for PSF/Noise extract operations 
  3043. ALT-X        Quit Program
  3044.  
  3045. The following special mouse functions are available:
  3046.  
  3047. Histogram/Stretch Bar:  To move the low stretch cursor, point the cursor 
  3048. to the desired location and hit the left button.  To move the high stretch 
  3049. cursor, point the cursor to the desired location and hit the right button.  To 
  3050. move the gamma cursor, point the cursor to the desired location and hit the 
  3051. center button (on a three-button mouse), or hit both the right and left 
  3052. buttons simultaneously.  
  3053.  
  3054. Clicking on the stretch bar with the mouse automatically engages the 
  3055. manual stretch mode.  By engaging the manual stretch with the menu 
  3056. instead, a dialog box is available to set numerical stretch values.  This same 
  3057. box also enables/disables the gamma adjust mode (gamma enabled slows 
  3058. down the display).  
  3059.  
  3060. PSF Extract, Noise Extract, Box Utility:  To enlarge the box, press the 
  3061. right mouse button.  To make the box smaller, press the center button.  To 
  3062. select an area of the image, press the left button or hit the spacebar.  To 
  3063. stop the extraction process, click in the menu bar at the top of the screen.  
  3064. Pixel Utility:  To extract a pixel measurement, click the left button or hit 
  3065. the spacebar.  To stop the measurement process, click in the menu bar at 
  3066. the top of the screen.  
  3067.  
  3068. Image Scroll Bars:  To move the image, point the cursor to the desired 
  3069. location on the scroll bar and click the left button.  To accept the scrolled 
  3070. position, click in the menu bar at the top of the screen.  
  3071.  
  3072. Photo View Mode:  To restore normal operation, click any mouse button.  
  3073.  
  3074. About Box:  To restore normal operation, click any mouse button.  
  3075.  
  3076. Two Button Mouse:  Any function that is available by clicking the center 
  3077. button on a three button mouse can also be accessed by clicking both left 
  3078. and right buttons simultaneously.  This allows the use of all functions with 
  3079. a two button mouse.  
  3080.  
  3081. Dialog Box Text Editing:  After selecting a text field in a dialog box, the 
  3082. first key pressed will erase the original contents.  If instead you want to 
  3083. edit the text, simply hit the backspace key to start deleting characters from 
  3084. the end of the text.  
  3085.  
  3086. Mouse Text Entry:  Text can be entered into a field on a dialog box by 
  3087. clicking the mouse on any of the characters in the text entry box.  Click on 
  3088. the "<" symbol to backspace.  
  3089.  
  3090. File Search Function:  The file search function is operated by entering the 
  3091. search parameters in the filename field using standard DOS wildcards 
  3092. (e.g.,*.ccd).  All the files matching this search parameter are then displayed 
  3093. in a nested dialog box.  The user can scroll through the list by clicking on 
  3094. the scroll buttons to the right of the list.  To select a file, either click on the 
  3095. filename then on "OK", or double-click on the filename.  
  3096.  
  3097.